import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VodImageSpriteTemplateConfig extends cdktf.TerraformMetaArguments { /** * Subimage column count of an image sprite. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#column_count VodImageSpriteTemplate#column_count} */ readonly columnCount: number; /** * Template description. Length limit: 256 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#comment VodImageSpriteTemplate#comment} */ readonly comment?: string; /** * Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported: `stretch`: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer; `black`: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: `black`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#fill_type VodImageSpriteTemplate#fill_type} */ readonly fillType?: string; /** * Image format, Valid values: * - jpg: jpg format; * - png: png format; * - webp: webp format; * Default value: jpg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#format VodImageSpriteTemplate#format} */ readonly format?: string; /** * Maximum value of the `height` (or short side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, `width` will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. Default value: `0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#height VodImageSpriteTemplate#height} */ readonly height?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#id VodImageSpriteTemplate#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Name of a time point screen capturing template. Length limit: 64 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#name VodImageSpriteTemplate#name} */ readonly name: string; /** * Resolution adaption. Valid values: `true`,`false`. `true`: enabled. In this case, `width` represents the long side of a video, while `height` the short side; `false`: disabled. In this case, `width` represents the width of a video, while `height` the height. Default value: `true`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#resolution_adaptive VodImageSpriteTemplate#resolution_adaptive} */ readonly resolutionAdaptive?: boolean | cdktf.IResolvable; /** * Subimage row count of an image sprite. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#row_count VodImageSpriteTemplate#row_count} */ readonly rowCount: number; /** * Sampling interval. If `sample_type` is `Percent`, sampling will be performed at an interval of the specified percentage. If `sample_type` is `Time`, sampling will be performed at the specified time interval in seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#sample_interval VodImageSpriteTemplate#sample_interval} */ readonly sampleInterval: number; /** * Sampling type. Valid values: `Percent`, `Time`. `Percent`: by percent. `Time`: by time interval. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#sample_type VodImageSpriteTemplate#sample_type} */ readonly sampleType: string; /** * The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#sub_app_id VodImageSpriteTemplate#sub_app_id} */ readonly subAppId?: number; /** * Maximum value of the `width` (or long side) of a screenshot in px. Value range: 0 and [128, 4,096]. If both `width` and `height` are `0`, the resolution will be the same as that of the source video; If `width` is `0`, but `height` is not `0`, width will be proportionally scaled; If `width` is not `0`, but `height` is `0`, `height` will be proportionally scaled; If both `width` and `height` are not `0`, the custom resolution will be used. Default value: `0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#width VodImageSpriteTemplate#width} */ readonly width?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template tencentcloud_vod_image_sprite_template} */ export declare class VodImageSpriteTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vod_image_sprite_template"; /** * Generates CDKTF code for importing a VodImageSpriteTemplate resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the VodImageSpriteTemplate to import * @param importFromId The id of the existing VodImageSpriteTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VodImageSpriteTemplate to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_image_sprite_template tencentcloud_vod_image_sprite_template} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options VodImageSpriteTemplateConfig */ constructor(scope: Construct, id: string, config: VodImageSpriteTemplateConfig); private _columnCount?; get columnCount(): number; set columnCount(value: number); get columnCountInput(): number; private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; get createTime(): any; private _fillType?; get fillType(): string; set fillType(value: string); resetFillType(): void; get fillTypeInput(): string; private _format?; get format(): string; set format(value: string); resetFormat(): void; get formatInput(): string; private _height?; get height(): number; set height(value: number); resetHeight(): void; get heightInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _resolutionAdaptive?; get resolutionAdaptive(): boolean | cdktf.IResolvable; set resolutionAdaptive(value: boolean | cdktf.IResolvable); resetResolutionAdaptive(): void; get resolutionAdaptiveInput(): any; private _rowCount?; get rowCount(): number; set rowCount(value: number); get rowCountInput(): number; private _sampleInterval?; get sampleInterval(): number; set sampleInterval(value: number); get sampleIntervalInput(): number; private _sampleType?; get sampleType(): string; set sampleType(value: string); get sampleTypeInput(): string; private _subAppId?; get subAppId(): number; set subAppId(value: number); resetSubAppId(): void; get subAppIdInput(): number; get type(): any; get updateTime(): any; private _width?; get width(): number; set width(value: number); resetWidth(): void; get widthInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }