import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface VodSuperPlayerConfigConfig extends cdktf.TerraformMetaArguments { /** * ID of the unencrypted adaptive bitrate streaming template that allows output, which is required if `drm_switch` is `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#adaptive_dynamic_streaming_definition VodSuperPlayerConfig#adaptive_dynamic_streaming_definition} */ readonly adaptiveDynamicStreamingDefinition?: string; /** * Template description. Length limit: 256 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#comment VodSuperPlayerConfig#comment} */ readonly comment?: string; /** * Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://cloud.tencent.com/document/product/266/33373) will be used. `Default` by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#domain VodSuperPlayerConfig#domain} */ readonly domain?: string; /** * Switch of DRM-protected adaptive bitstream playback: `true`: enabled, indicating to play back only output adaptive bitstreams protected by DRM; `false`: disabled, indicating to play back unencrypted output adaptive bitstreams. Default value: `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#drm_switch VodSuperPlayerConfig#drm_switch} */ readonly drmSwitch?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#id VodSuperPlayerConfig#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; /** * ID of the image sprite template that allows output. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#image_sprite_definition VodSuperPlayerConfig#image_sprite_definition} */ readonly imageSpriteDefinition?: string; /** * Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#name VodSuperPlayerConfig#name} */ readonly name: string; /** * Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://cloud.tencent.com/document/product/266/33373) will be used. Other valid values: `HTTP`; `HTTPS`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#scheme VodSuperPlayerConfig#scheme} */ readonly scheme?: string; /** * Subapplication ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#sub_app_id VodSuperPlayerConfig#sub_app_id} */ readonly subAppId?: number; /** * drm_streaming_info block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#drm_streaming_info VodSuperPlayerConfig#drm_streaming_info} */ readonly drmStreamingInfo?: VodSuperPlayerConfigDrmStreamingInfo; /** * resolution_names block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#resolution_names VodSuperPlayerConfig#resolution_names} */ readonly resolutionNames?: VodSuperPlayerConfigResolutionNames[] | cdktf.IResolvable; } export interface VodSuperPlayerConfigDrmStreamingInfo { /** * ID of the adaptive dynamic streaming template whose protection type is `SimpleAES`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#simple_aes_definition VodSuperPlayerConfig#simple_aes_definition} */ readonly simpleAesDefinition?: string; } export declare function vodSuperPlayerConfigDrmStreamingInfoToTerraform(struct?: VodSuperPlayerConfigDrmStreamingInfoOutputReference | VodSuperPlayerConfigDrmStreamingInfo): any; export declare function vodSuperPlayerConfigDrmStreamingInfoToHclTerraform(struct?: VodSuperPlayerConfigDrmStreamingInfoOutputReference | VodSuperPlayerConfigDrmStreamingInfo): any; export declare class VodSuperPlayerConfigDrmStreamingInfoOutputReference 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(): VodSuperPlayerConfigDrmStreamingInfo | undefined; set internalValue(value: VodSuperPlayerConfigDrmStreamingInfo | undefined); private _simpleAesDefinition?; get simpleAesDefinition(): string; set simpleAesDefinition(value: string); resetSimpleAesDefinition(): void; get simpleAesDefinitionInput(): string; } export interface VodSuperPlayerConfigResolutionNames { /** * Length of video short side in px. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#min_edge_length VodSuperPlayerConfig#min_edge_length} */ readonly minEdgeLength: number; /** * Display name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#name VodSuperPlayerConfig#name} */ readonly name: string; } export declare function vodSuperPlayerConfigResolutionNamesToTerraform(struct?: VodSuperPlayerConfigResolutionNames | cdktf.IResolvable): any; export declare function vodSuperPlayerConfigResolutionNamesToHclTerraform(struct?: VodSuperPlayerConfigResolutionNames | cdktf.IResolvable): any; export declare class VodSuperPlayerConfigResolutionNamesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): VodSuperPlayerConfigResolutionNames | cdktf.IResolvable | undefined; set internalValue(value: VodSuperPlayerConfigResolutionNames | cdktf.IResolvable | undefined); private _minEdgeLength?; get minEdgeLength(): number; set minEdgeLength(value: number); get minEdgeLengthInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; } export declare class VodSuperPlayerConfigResolutionNamesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: VodSuperPlayerConfigResolutionNames[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): VodSuperPlayerConfigResolutionNamesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config tencentcloud_vod_super_player_config} */ export declare class VodSuperPlayerConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_vod_super_player_config"; /** * Generates CDKTF code for importing a VodSuperPlayerConfig 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 VodSuperPlayerConfig to import * @param importFromId The id of the existing VodSuperPlayerConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/vod_super_player_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the VodSuperPlayerConfig 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_super_player_config tencentcloud_vod_super_player_config} 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 VodSuperPlayerConfigConfig */ constructor(scope: Construct, id: string, config: VodSuperPlayerConfigConfig); private _adaptiveDynamicStreamingDefinition?; get adaptiveDynamicStreamingDefinition(): string; set adaptiveDynamicStreamingDefinition(value: string); resetAdaptiveDynamicStreamingDefinition(): void; get adaptiveDynamicStreamingDefinitionInput(): string; private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; get createTime(): any; private _domain?; get domain(): string; set domain(value: string); resetDomain(): void; get domainInput(): string; private _drmSwitch?; get drmSwitch(): boolean | cdktf.IResolvable; set drmSwitch(value: boolean | cdktf.IResolvable); resetDrmSwitch(): void; get drmSwitchInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _imageSpriteDefinition?; get imageSpriteDefinition(): string; set imageSpriteDefinition(value: string); resetImageSpriteDefinition(): void; get imageSpriteDefinitionInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _scheme?; get scheme(): string; set scheme(value: string); resetScheme(): void; get schemeInput(): string; private _subAppId?; get subAppId(): number; set subAppId(value: number); resetSubAppId(): void; get subAppIdInput(): number; get updateTime(): any; private _drmStreamingInfo; get drmStreamingInfo(): VodSuperPlayerConfigDrmStreamingInfoOutputReference; putDrmStreamingInfo(value: VodSuperPlayerConfigDrmStreamingInfo): void; resetDrmStreamingInfo(): void; get drmStreamingInfoInput(): VodSuperPlayerConfigDrmStreamingInfo; private _resolutionNames; get resolutionNames(): VodSuperPlayerConfigResolutionNamesList; putResolutionNames(value: VodSuperPlayerConfigResolutionNames[] | cdktf.IResolvable): void; resetResolutionNames(): void; get resolutionNamesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }