import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VodSnapshotByTimeOffsetTemplateConfig 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_snapshot_by_time_offset_template#comment VodSnapshotByTimeOffsetTemplate#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. `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_snapshot_by_time_offset_template#fill_type VodSnapshotByTimeOffsetTemplate#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_snapshot_by_time_offset_template#format VodSnapshotByTimeOffsetTemplate#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_snapshot_by_time_offset_template#height VodSnapshotByTimeOffsetTemplate#height} */ readonly height?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_snapshot_by_time_offset_template#id VodSnapshotByTimeOffsetTemplate#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_snapshot_by_time_offset_template#name VodSnapshotByTimeOffsetTemplate#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_snapshot_by_time_offset_template#resolution_adaptive VodSnapshotByTimeOffsetTemplate#resolution_adaptive} */ readonly resolutionAdaptive?: boolean | cdktf.IResolvable; /** * 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_snapshot_by_time_offset_template#sub_app_id VodSnapshotByTimeOffsetTemplate#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_snapshot_by_time_offset_template#width VodSnapshotByTimeOffsetTemplate#width} */ readonly width?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_snapshot_by_time_offset_template tencentcloud_vod_snapshot_by_time_offset_template} */ export declare class VodSnapshotByTimeOffsetTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vod_snapshot_by_time_offset_template"; /** * Generates CDKTF code for importing a VodSnapshotByTimeOffsetTemplate 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 VodSnapshotByTimeOffsetTemplate to import * @param importFromId The id of the existing VodSnapshotByTimeOffsetTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_snapshot_by_time_offset_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VodSnapshotByTimeOffsetTemplate 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_snapshot_by_time_offset_template tencentcloud_vod_snapshot_by_time_offset_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 VodSnapshotByTimeOffsetTemplateConfig */ constructor(scope: Construct, id: string, config: VodSnapshotByTimeOffsetTemplateConfig); 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 _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; }; }