import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VodWatermarkTemplateConfig 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_watermark_template#comment VodWatermarkTemplate#comment} */ readonly comment?: string; /** * Origin position. Valid values: TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text; TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text; BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text; BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.Default value: TopLeft. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#coordinate_origin VodWatermarkTemplate#coordinate_origin} */ readonly coordinateOrigin?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#id VodWatermarkTemplate#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; /** * Watermarking template name. Length limit: 64 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#name VodWatermarkTemplate#name} */ readonly name?: 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_watermark_template#sub_app_id VodWatermarkTemplate#sub_app_id} */ readonly subAppId: number; /** * Watermarking type. Valid values: image: image watermark; text: text watermark; svg: SVG watermark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#type VodWatermarkTemplate#type} */ readonly type: string; /** * The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width; If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.Default value: 0 px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#x_pos VodWatermarkTemplate#x_pos} */ readonly xPos?: string; /** * The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported: If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height; If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.Default value: 0 px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#y_pos VodWatermarkTemplate#y_pos} */ readonly yPos?: string; /** * image_template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#image_template VodWatermarkTemplate#image_template} */ readonly imageTemplate?: VodWatermarkTemplateImageTemplate; /** * svg_template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#svg_template VodWatermarkTemplate#svg_template} */ readonly svgTemplate?: VodWatermarkTemplateSvgTemplate; /** * text_template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#text_template VodWatermarkTemplate#text_template} */ readonly textTemplate?: VodWatermarkTemplateTextTemplate; } export interface VodWatermarkTemplateImageTemplate { /** * Watermark height. % and px formats are supported: If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height; If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px. Valid values: 0 or [8,4096]. Default value: 0 px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#height VodWatermarkTemplate#height} */ readonly height?: string; /** * The [Base64](https://tools.ietf.org/html/rfc4648) encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#image_content VodWatermarkTemplate#image_content} */ readonly imageContent: string; /** * Repeat type of an animated watermark. Valid values: once: no longer appears after watermark playback ends. repeat_last_frame: stays on the last frame after watermark playback ends. repeat (default): repeats the playback until the video ends. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#repeat_type VodWatermarkTemplate#repeat_type} */ readonly repeatType?: string; /** * Image watermark transparency: 0: completely opaque 100: completely transparent Default value: 0. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#transparency VodWatermarkTemplate#transparency} */ readonly transparency?: number; /** * Watermark width. % and px formats are supported: If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width; If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096]. Default value: 10%. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#width VodWatermarkTemplate#width} */ readonly width?: string; } export declare function vodWatermarkTemplateImageTemplateToTerraform(struct?: VodWatermarkTemplateImageTemplateOutputReference | VodWatermarkTemplateImageTemplate): any; export declare function vodWatermarkTemplateImageTemplateToHclTerraform(struct?: VodWatermarkTemplateImageTemplateOutputReference | VodWatermarkTemplateImageTemplate): any; export declare class VodWatermarkTemplateImageTemplateOutputReference 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(): VodWatermarkTemplateImageTemplate | undefined; set internalValue(value: VodWatermarkTemplateImageTemplate | undefined); private _height?; get height(): string; set height(value: string); resetHeight(): void; get heightInput(): string; private _imageContent?; get imageContent(): string; set imageContent(value: string); get imageContentInput(): string; private _repeatType?; get repeatType(): string; set repeatType(value: string); resetRepeatType(): void; get repeatTypeInput(): string; private _transparency?; get transparency(): number; set transparency(value: number); resetTransparency(): void; get transparencyInput(): number; private _width?; get width(): string; set width(value: string); resetWidth(): void; get widthInput(): string; } export interface VodWatermarkTemplateSvgTemplate { /** * Watermark height, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image; If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width; If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height; If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video; If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video; If the string ends in %, the meaning is the same as `H%`. Default value: 0 px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#height VodWatermarkTemplate#height} */ readonly height?: string; /** * Watermark width, which supports six formats of px, %, W%, H%, S%, and L%: If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image; If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width; If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height; If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video; If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video; If the string ends in %, the meaning is the same as `W%`. Default value: 10W%. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#width VodWatermarkTemplate#width} */ readonly width?: string; } export declare function vodWatermarkTemplateSvgTemplateToTerraform(struct?: VodWatermarkTemplateSvgTemplateOutputReference | VodWatermarkTemplateSvgTemplate): any; export declare function vodWatermarkTemplateSvgTemplateToHclTerraform(struct?: VodWatermarkTemplateSvgTemplateOutputReference | VodWatermarkTemplateSvgTemplate): any; export declare class VodWatermarkTemplateSvgTemplateOutputReference 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(): VodWatermarkTemplateSvgTemplate | undefined; set internalValue(value: VodWatermarkTemplateSvgTemplate | undefined); private _height?; get height(): string; set height(value: string); resetHeight(): void; get heightInput(): string; private _width?; get width(): string; set width(value: string); resetWidth(): void; get widthInput(): string; } export interface VodWatermarkTemplateTextTemplate { /** * Text transparency. Value range: (0, 1] 0: completely transparent 1: completely opaque Default value: 1. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#font_alpha VodWatermarkTemplate#font_alpha} */ readonly fontAlpha: number; /** * Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#font_color VodWatermarkTemplate#font_color} */ readonly fontColor: string; /** * Font size in Npx format where N is a numeric value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#font_size VodWatermarkTemplate#font_size} */ readonly fontSize: string; /** * Font type. Currently, two types are supported: simkai.ttf: both Chinese and English are supported; arial.ttf: only English is supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template#font_type VodWatermarkTemplate#font_type} */ readonly fontType: string; } export declare function vodWatermarkTemplateTextTemplateToTerraform(struct?: VodWatermarkTemplateTextTemplateOutputReference | VodWatermarkTemplateTextTemplate): any; export declare function vodWatermarkTemplateTextTemplateToHclTerraform(struct?: VodWatermarkTemplateTextTemplateOutputReference | VodWatermarkTemplateTextTemplate): any; export declare class VodWatermarkTemplateTextTemplateOutputReference 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(): VodWatermarkTemplateTextTemplate | undefined; set internalValue(value: VodWatermarkTemplateTextTemplate | undefined); private _fontAlpha?; get fontAlpha(): number; set fontAlpha(value: number); get fontAlphaInput(): number; 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; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_watermark_template tencentcloud_vod_watermark_template} */ export declare class VodWatermarkTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vod_watermark_template"; /** * Generates CDKTF code for importing a VodWatermarkTemplate 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 VodWatermarkTemplate to import * @param importFromId The id of the existing VodWatermarkTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_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 VodWatermarkTemplate 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_watermark_template tencentcloud_vod_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 VodWatermarkTemplateConfig */ constructor(scope: Construct, id: string, config: VodWatermarkTemplateConfig); private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; private _coordinateOrigin?; get coordinateOrigin(): string; set coordinateOrigin(value: string); resetCoordinateOrigin(): void; get coordinateOriginInput(): string; 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 _subAppId?; get subAppId(): number; set subAppId(value: number); get subAppIdInput(): number; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _xPos?; get xPos(): string; set xPos(value: string); resetXPos(): void; get xPosInput(): string; private _yPos?; get yPos(): string; set yPos(value: string); resetYPos(): void; get yPosInput(): string; private _imageTemplate; get imageTemplate(): VodWatermarkTemplateImageTemplateOutputReference; putImageTemplate(value: VodWatermarkTemplateImageTemplate): void; resetImageTemplate(): void; get imageTemplateInput(): VodWatermarkTemplateImageTemplate; private _svgTemplate; get svgTemplate(): VodWatermarkTemplateSvgTemplateOutputReference; putSvgTemplate(value: VodWatermarkTemplateSvgTemplate): void; resetSvgTemplate(): void; get svgTemplateInput(): VodWatermarkTemplateSvgTemplate; private _textTemplate; get textTemplate(): VodWatermarkTemplateTextTemplateOutputReference; putTextTemplate(value: VodWatermarkTemplateTextTemplate): void; resetTextTemplate(): void; get textTemplateInput(): VodWatermarkTemplateTextTemplate; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }