import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CiMediaWatermarkTemplateConfig extends cdktf.TerraformMetaArguments { /** * bucket name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#bucket CiMediaWatermarkTemplate#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#id CiMediaWatermarkTemplate#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_watermark_template#name CiMediaWatermarkTemplate#name} */ readonly name: string; /** * watermark block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#watermark CiMediaWatermarkTemplate#watermark} */ readonly watermark: CiMediaWatermarkTemplateWatermark; } export interface CiMediaWatermarkTemplateWatermarkImage { /** * Whether the background image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#background CiMediaWatermarkTemplate#background} */ readonly background: string; /** * High, 1: When the Mode is Original, it does not support setting the width of the watermark image, 2: When the Mode is Proportion, the unit is %, the value range of the background image: [100 300]; the value range of the foreground image: [1 100], relative to Video width, up to 4096px, 3: When Mode is Fixed, the unit is px, value range: [8, 4096], 4: If only Width is set, Height is calculated according to the proportion of the watermark image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#height CiMediaWatermarkTemplate#height} */ readonly height?: string; /** * Size mode, Original: original size, Proportion: proportional, Fixed: fixed size. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#mode CiMediaWatermarkTemplate#mode} */ readonly mode: string; /** * Transparency, value range: [1 100], unit %. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#transparency CiMediaWatermarkTemplate#transparency} */ readonly transparency: string; /** * Address of watermark map (pass in after Urlencode is required). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#url CiMediaWatermarkTemplate#url} */ readonly url: string; /** * Width, 1: When the Mode is Original, it does not support setting the width of the watermark image, 2: When the Mode is Proportion, the unit is %, the value range of the background image: [100 300]; the value range of the foreground image: [1 100], relative to Video width, up to 4096px, 3: When Mode is Fixed, the unit is px, value range: [8, 4096], 4: If only Width is set, Height is calculated according to the proportion of the watermark image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#width CiMediaWatermarkTemplate#width} */ readonly width?: string; } export declare function ciMediaWatermarkTemplateWatermarkImageToTerraform(struct?: CiMediaWatermarkTemplateWatermarkImageOutputReference | CiMediaWatermarkTemplateWatermarkImage): any; export declare function ciMediaWatermarkTemplateWatermarkImageToHclTerraform(struct?: CiMediaWatermarkTemplateWatermarkImageOutputReference | CiMediaWatermarkTemplateWatermarkImage): any; export declare class CiMediaWatermarkTemplateWatermarkImageOutputReference 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(): CiMediaWatermarkTemplateWatermarkImage | undefined; set internalValue(value: CiMediaWatermarkTemplateWatermarkImage | undefined); private _background?; get background(): string; set background(value: string); get backgroundInput(): string; private _height?; get height(): string; set height(value: string); resetHeight(): void; get heightInput(): string; private _mode?; get mode(): string; set mode(value: string); get modeInput(): string; private _transparency?; get transparency(): string; set transparency(value: string); get transparencyInput(): string; private _url?; get url(): string; set url(value: string); get urlInput(): string; private _width?; get width(): string; set width(value: string); resetWidth(): void; get widthInput(): string; } export interface CiMediaWatermarkTemplateWatermarkText { /** * Font color, format: 0xRRGGBB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#font_color CiMediaWatermarkTemplate#font_color} */ readonly fontColor: string; /** * Font size, value range: [5 100], unit px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#font_size CiMediaWatermarkTemplate#font_size} */ readonly fontSize: string; /** * font type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#font_type CiMediaWatermarkTemplate#font_type} */ readonly fontType: string; /** * Watermark content, the length does not exceed 64 characters, 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_watermark_template#text CiMediaWatermarkTemplate#text} */ readonly text: string; /** * Transparency, value range: [1 100], unit %. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#transparency CiMediaWatermarkTemplate#transparency} */ readonly transparency: string; } export declare function ciMediaWatermarkTemplateWatermarkTextToTerraform(struct?: CiMediaWatermarkTemplateWatermarkTextOutputReference | CiMediaWatermarkTemplateWatermarkText): any; export declare function ciMediaWatermarkTemplateWatermarkTextToHclTerraform(struct?: CiMediaWatermarkTemplateWatermarkTextOutputReference | CiMediaWatermarkTemplateWatermarkText): any; export declare class CiMediaWatermarkTemplateWatermarkTextOutputReference 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(): CiMediaWatermarkTemplateWatermarkText | undefined; set internalValue(value: CiMediaWatermarkTemplateWatermarkText | undefined); private _fontColor?; get fontColor(): string; set fontColor(value: string); get fontColorInput(): string; private _fontSize?; get fontSize(): string; set fontSize(value: string); get fontSizeInput(): string; private _fontType?; get fontType(): string; set fontType(value: string); get fontTypeInput(): string; private _text?; get text(): string; set text(value: string); get textInput(): string; private _transparency?; get transparency(): string; set transparency(value: string); get transparencyInput(): string; } export interface CiMediaWatermarkTemplateWatermark { /** * Horizontal offset, 1: In the picture watermark, if Background is true, when locMode is Relativity, it is %, value range: [-300 0]; when locMode is Absolute, it is px, value range: [-4096 0] ], 2: In the picture watermark, if Background is false, when locMode is Relativity, it is %, value range: [0 100]; when locMode is Absolute, it is px, value range: [0 4096], 3: In text watermark, when locMode is Relativity, it is %, value range: [0 100]; when locMode is Absolute, it is px, value range: [0 4096], 4: When Pos is Top, Bottom and Center, the parameter is invalid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#dx CiMediaWatermarkTemplate#dx} */ readonly dx: string; /** * Vertical offset, 1: In the picture watermark, if Background is true, when locMode is Relativity, it is %, value range: [-300 0]; when locMode is Absolute, it is px, value range: [-4096 0] ],2: In the picture watermark, if Background is false, when locMode is Relativity, it is %, value range: [0 100]; when locMode is Absolute, it is px, value range: [0 4096],3: In text watermark, when locMode is Relativity, it is %, value range: [0 100]; when locMode is Absolute, it is px, value range: [0 4096], 4: When Pos is Left, Right and Center, the parameter is invalid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#dy CiMediaWatermarkTemplate#dy} */ readonly dy: string; /** * Watermark end time, 1: [0 video duration], 2: unit is second, 3: support float format, 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_watermark_template#end_time CiMediaWatermarkTemplate#end_time} */ readonly endTime?: string; /** * Offset method, Relativity: proportional, Absolute: fixed position. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#loc_mode CiMediaWatermarkTemplate#loc_mode} */ readonly locMode: string; /** * Reference position, TopRight, TopLeft, BottomRight, BottomLeft, Left, Right, Top, Bottom, Center. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#pos CiMediaWatermarkTemplate#pos} */ readonly pos: string; /** * Watermark start time, 1: [0 video duration], 2: unit is second, 3: support float format, 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_watermark_template#start_time CiMediaWatermarkTemplate#start_time} */ readonly startTime?: string; /** * Watermark type, Text: text watermark, Image: image watermark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#type CiMediaWatermarkTemplate#type} */ readonly type: string; /** * image block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#image CiMediaWatermarkTemplate#image} */ readonly image?: CiMediaWatermarkTemplateWatermarkImage; /** * text block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#text CiMediaWatermarkTemplate#text} */ readonly text?: CiMediaWatermarkTemplateWatermarkText; } export declare function ciMediaWatermarkTemplateWatermarkToTerraform(struct?: CiMediaWatermarkTemplateWatermarkOutputReference | CiMediaWatermarkTemplateWatermark): any; export declare function ciMediaWatermarkTemplateWatermarkToHclTerraform(struct?: CiMediaWatermarkTemplateWatermarkOutputReference | CiMediaWatermarkTemplateWatermark): any; export declare class CiMediaWatermarkTemplateWatermarkOutputReference 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(): CiMediaWatermarkTemplateWatermark | undefined; set internalValue(value: CiMediaWatermarkTemplateWatermark | undefined); private _dx?; get dx(): string; set dx(value: string); get dxInput(): string; private _dy?; get dy(): string; set dy(value: string); get dyInput(): string; private _endTime?; get endTime(): string; set endTime(value: string); resetEndTime(): void; get endTimeInput(): string; private _locMode?; get locMode(): string; set locMode(value: string); get locModeInput(): string; private _pos?; get pos(): string; set pos(value: string); get posInput(): string; private _startTime?; get startTime(): string; set startTime(value: string); resetStartTime(): void; get startTimeInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _image; get image(): CiMediaWatermarkTemplateWatermarkImageOutputReference; putImage(value: CiMediaWatermarkTemplateWatermarkImage): void; resetImage(): void; get imageInput(): CiMediaWatermarkTemplateWatermarkImage; private _text; get text(): CiMediaWatermarkTemplateWatermarkTextOutputReference; putText(value: CiMediaWatermarkTemplateWatermarkText): void; resetText(): void; get textInput(): CiMediaWatermarkTemplateWatermarkText; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template tencentcloud_ci_media_watermark_template} */ export declare class CiMediaWatermarkTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ci_media_watermark_template"; /** * Generates CDKTF code for importing a CiMediaWatermarkTemplate 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 CiMediaWatermarkTemplate to import * @param importFromId The id of the existing CiMediaWatermarkTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ci_media_watermark_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CiMediaWatermarkTemplate 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_watermark_template tencentcloud_ci_media_watermark_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 CiMediaWatermarkTemplateConfig */ constructor(scope: Construct, id: string, config: CiMediaWatermarkTemplateConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; 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 _watermark; get watermark(): CiMediaWatermarkTemplateWatermarkOutputReference; putWatermark(value: CiMediaWatermarkTemplateWatermark): void; get watermarkInput(): CiMediaWatermarkTemplateWatermark; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }