import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CiMediaSnapshotTemplateConfig extends cdktf.TerraformMetaArguments { /** * bucket name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#bucket CiMediaSnapshotTemplate#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#id CiMediaSnapshotTemplate#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; /** * The template name only supports `Chinese`, `English`, `numbers`, `_`, `-` and `*`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#name CiMediaSnapshotTemplate#name} */ readonly name: string; /** * snapshot block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#snapshot CiMediaSnapshotTemplate#snapshot} */ readonly snapshot: CiMediaSnapshotTemplateSnapshot; } export interface CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig { /** * Single image height Value range: [8, 4096], Unit: px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#cell_height CiMediaSnapshotTemplate#cell_height} */ readonly cellHeight?: string; /** * Single image width Value range: [8, 4096], Unit: px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#cell_width CiMediaSnapshotTemplate#cell_width} */ readonly cellWidth?: string; /** * See `https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax` for details on supported colors. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#color CiMediaSnapshotTemplate#color} */ readonly color: string; /** * Number of screenshot columns, value range: [1, 10000]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#columns CiMediaSnapshotTemplate#columns} */ readonly columns: string; /** * Number of screenshot lines, value range: [1, 10000]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#lines CiMediaSnapshotTemplate#lines} */ readonly lines: string; /** * screenshot margin size, Value range: [8, 4096], Unit: px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#margin CiMediaSnapshotTemplate#margin} */ readonly margin?: string; /** * screenshot padding size, Value range: [8, 4096], Unit: px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#padding CiMediaSnapshotTemplate#padding} */ readonly padding?: string; } export declare function ciMediaSnapshotTemplateSnapshotSpriteSnapshotConfigToTerraform(struct?: CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigOutputReference | CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig): any; export declare function ciMediaSnapshotTemplateSnapshotSpriteSnapshotConfigToHclTerraform(struct?: CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigOutputReference | CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig): any; export declare class CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig | undefined; set internalValue(value: CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig | undefined); private _cellHeight?; get cellHeight(): string; set cellHeight(value: string); resetCellHeight(): void; get cellHeightInput(): string; private _cellWidth?; get cellWidth(): string; set cellWidth(value: string); resetCellWidth(): void; get cellWidthInput(): string; private _color?; get color(): string; set color(value: string); get colorInput(): string; private _columns?; get columns(): string; set columns(value: string); get columnsInput(): string; private _lines?; get lines(): string; set lines(value: string); get linesInput(): string; private _margin?; get margin(): string; set margin(value: string); resetMargin(): void; get marginInput(): string; private _padding?; get padding(): string; set padding(value: string); resetPadding(): void; get paddingInput(): string; } export interface CiMediaSnapshotTemplateSnapshot { /** * Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#black_level CiMediaSnapshotTemplate#black_level} */ readonly blackLevel?: string; /** * Screenshot image processing parameters, for example: imageMogr2/format/png. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#ci_param CiMediaSnapshotTemplate#ci_param} */ readonly ciParam?: string; /** * Number of screenshots, range (0 10000]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#count CiMediaSnapshotTemplate#count} */ readonly count: string; /** * high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#height CiMediaSnapshotTemplate#height} */ readonly height?: string; /** * Whether to enable black screen detection true/false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#is_check_black CiMediaSnapshotTemplate#is_check_black} */ readonly isCheckBlack?: string; /** * Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#is_check_count CiMediaSnapshotTemplate#is_check_count} */ readonly isCheckCount?: string; /** * Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#mode CiMediaSnapshotTemplate#mode} */ readonly mode?: string; /** * Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#pixel_black_threshold CiMediaSnapshotTemplate#pixel_black_threshold} */ readonly pixelBlackThreshold?: string; /** * Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#snapshot_out_mode CiMediaSnapshotTemplate#snapshot_out_mode} */ readonly snapshotOutMode?: string; /** * Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#start CiMediaSnapshotTemplate#start} */ readonly start?: string; /** * Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#time_interval CiMediaSnapshotTemplate#time_interval} */ readonly timeInterval?: string; /** * wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#width CiMediaSnapshotTemplate#width} */ readonly width?: string; /** * sprite_snapshot_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template#sprite_snapshot_config CiMediaSnapshotTemplate#sprite_snapshot_config} */ readonly spriteSnapshotConfig?: CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig; } export declare function ciMediaSnapshotTemplateSnapshotToTerraform(struct?: CiMediaSnapshotTemplateSnapshotOutputReference | CiMediaSnapshotTemplateSnapshot): any; export declare function ciMediaSnapshotTemplateSnapshotToHclTerraform(struct?: CiMediaSnapshotTemplateSnapshotOutputReference | CiMediaSnapshotTemplateSnapshot): any; export declare class CiMediaSnapshotTemplateSnapshotOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): CiMediaSnapshotTemplateSnapshot | undefined; set internalValue(value: CiMediaSnapshotTemplateSnapshot | undefined); private _blackLevel?; get blackLevel(): string; set blackLevel(value: string); resetBlackLevel(): void; get blackLevelInput(): string; private _ciParam?; get ciParam(): string; set ciParam(value: string); resetCiParam(): void; get ciParamInput(): string; private _count?; get count(): string; set count(value: string); get countInput(): string; private _height?; get height(): string; set height(value: string); resetHeight(): void; get heightInput(): string; private _isCheckBlack?; get isCheckBlack(): string; set isCheckBlack(value: string); resetIsCheckBlack(): void; get isCheckBlackInput(): string; private _isCheckCount?; get isCheckCount(): string; set isCheckCount(value: string); resetIsCheckCount(): void; get isCheckCountInput(): string; private _mode?; get mode(): string; set mode(value: string); resetMode(): void; get modeInput(): string; private _pixelBlackThreshold?; get pixelBlackThreshold(): string; set pixelBlackThreshold(value: string); resetPixelBlackThreshold(): void; get pixelBlackThresholdInput(): string; private _snapshotOutMode?; get snapshotOutMode(): string; set snapshotOutMode(value: string); resetSnapshotOutMode(): void; get snapshotOutModeInput(): string; private _start?; get start(): string; set start(value: string); resetStart(): void; get startInput(): string; private _timeInterval?; get timeInterval(): string; set timeInterval(value: string); resetTimeInterval(): void; get timeIntervalInput(): string; private _width?; get width(): string; set width(value: string); resetWidth(): void; get widthInput(): string; private _spriteSnapshotConfig; get spriteSnapshotConfig(): CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigOutputReference; putSpriteSnapshotConfig(value: CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig): void; resetSpriteSnapshotConfig(): void; get spriteSnapshotConfigInput(): CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_snapshot_template tencentcloud_ci_media_snapshot_template} */ export declare class CiMediaSnapshotTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ci_media_snapshot_template"; /** * Generates CDKTF code for importing a CiMediaSnapshotTemplate 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 CiMediaSnapshotTemplate to import * @param importFromId The id of the existing CiMediaSnapshotTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_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 CiMediaSnapshotTemplate 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/ci_media_snapshot_template tencentcloud_ci_media_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 CiMediaSnapshotTemplateConfig */ constructor(scope: Construct, id: string, config: CiMediaSnapshotTemplateConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; get createTime(): any; 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; get templateId(): any; get updateTime(): any; private _snapshot; get snapshot(): CiMediaSnapshotTemplateSnapshotOutputReference; putSnapshot(value: CiMediaSnapshotTemplateSnapshot): void; get snapshotInput(): CiMediaSnapshotTemplateSnapshot; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }