import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdnUrlPushConfig extends cdktf.TerraformMetaArguments { /** * Specify push area. NOTE: only push same area cache contents. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#area CdnUrlPush#area} */ readonly area?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#id CdnUrlPush#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; /** * Layer to push. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#layer CdnUrlPush#layer} */ readonly layer?: string; /** * Whether to recursive parse m3u8 files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#parse_m3u8 CdnUrlPush#parse_m3u8} */ readonly parseM3U8?: boolean | cdktf.IResolvable; /** * Change to push again. NOTE: this argument only works while resource update, if set to `0` or null will not be triggered. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#redo CdnUrlPush#redo} */ readonly redo?: number; /** * List of url to push. NOTE: urls need include protocol prefix `http://` or `https://`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#urls CdnUrlPush#urls} */ readonly urls: string[]; /** * Specify `User-Agent` HTTP header, default: `TencentCdn`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#user_agent CdnUrlPush#user_agent} */ readonly userAgent?: string; } export interface CdnUrlPushPushHistory { } export declare function cdnUrlPushPushHistoryToTerraform(struct?: CdnUrlPushPushHistory): any; export declare function cdnUrlPushPushHistoryToHclTerraform(struct?: CdnUrlPushPushHistory): any; export declare class CdnUrlPushPushHistoryOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CdnUrlPushPushHistory | undefined; set internalValue(value: CdnUrlPushPushHistory | undefined); get area(): any; get createTime(): any; get percent(): any; get status(): any; get taskId(): any; get updateTime(): any; get url(): any; } export declare class CdnUrlPushPushHistoryList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CdnUrlPushPushHistoryOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push tencentcloud_cdn_url_push} */ export declare class CdnUrlPush extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cdn_url_push"; /** * Generates CDKTF code for importing a CdnUrlPush 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 CdnUrlPush to import * @param importFromId The id of the existing CdnUrlPush that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_push#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CdnUrlPush 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/cdn_url_push tencentcloud_cdn_url_push} 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 CdnUrlPushConfig */ constructor(scope: Construct, id: string, config: CdnUrlPushConfig); private _area?; get area(): string; set area(value: string); resetArea(): void; get areaInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _layer?; get layer(): string; set layer(value: string); resetLayer(): void; get layerInput(): string; private _parseM3U8?; get parseM3U8(): boolean | cdktf.IResolvable; set parseM3U8(value: boolean | cdktf.IResolvable); resetParseM3U8(): void; get parseM3U8Input(): any; private _pushHistory; get pushHistory(): CdnUrlPushPushHistoryList; private _redo?; get redo(): number; set redo(value: number); resetRedo(): void; get redoInput(): number; get taskId(): any; private _urls?; get urls(): string[]; set urls(value: string[]); get urlsInput(): string[]; private _userAgent?; get userAgent(): string; set userAgent(value: string); resetUserAgent(): void; get userAgentInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }