import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VodSampleSnapshotTemplateConfig extends cdktf.TerraformMetaArguments { /** * Template description. Length limit: 256 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#comment VodSampleSnapshotTemplate#comment} */ readonly comment?: string; /** * Fill type. 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. white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks. gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.Default value: black. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#fill_type VodSampleSnapshotTemplate#fill_type} */ readonly fillType?: string; /** * Image format. Valid values: jpg, png. Default value: jpg. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#format VodSampleSnapshotTemplate#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_sample_snapshot_template#height VodSampleSnapshotTemplate#height} */ readonly height?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#id VodSampleSnapshotTemplate#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 sampled screencapturing template. Length limit: 64 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#name VodSampleSnapshotTemplate#name} */ readonly name?: string; /** * Resolution adaption. Valid values: open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side; close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.Default value: open. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#resolution_adaptive VodSampleSnapshotTemplate#resolution_adaptive} */ readonly resolutionAdaptive?: string; /** * Sampling interval. If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage. If `SampleType` 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_sample_snapshot_template#sample_interval VodSampleSnapshotTemplate#sample_interval} */ readonly sampleInterval: number; /** * Sampled screencapturing type. Valid values: 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_sample_snapshot_template#sample_type VodSampleSnapshotTemplate#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_sample_snapshot_template#sub_app_id VodSampleSnapshotTemplate#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_sample_snapshot_template#width VodSampleSnapshotTemplate#width} */ readonly width?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template tencentcloud_vod_sample_snapshot_template} */ export declare class VodSampleSnapshotTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vod_sample_snapshot_template"; /** * Generates CDKTF code for importing a VodSampleSnapshotTemplate 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 VodSampleSnapshotTemplate to import * @param importFromId The id of the existing VodSampleSnapshotTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_sample_snapshot_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VodSampleSnapshotTemplate 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_sample_snapshot_template tencentcloud_vod_sample_snapshot_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 VodSampleSnapshotTemplateConfig */ constructor(scope: Construct, id: string, config: VodSampleSnapshotTemplateConfig); private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; 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); resetName(): void; get nameInput(): string; private _resolutionAdaptive?; get resolutionAdaptive(): string; set resolutionAdaptive(value: string); resetResolutionAdaptive(): void; get resolutionAdaptiveInput(): string; 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); get subAppIdInput(): number; private _width?; get width(): number; set width(value: number); resetWidth(): void; get widthInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }