import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdnUrlPurgeConfig extends cdktf.TerraformMetaArguments { /** * Specify purge area. NOTE: only purge same area cache contents. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_purge#area CdnUrlPurge#area} */ readonly area?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_purge#id CdnUrlPurge#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; /** * Change to purge 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_purge#redo CdnUrlPurge#redo} */ readonly redo?: number; /** * Whether to encode urls, if set to `true` will auto encode instead of manual process. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_purge#url_encode CdnUrlPurge#url_encode} */ readonly urlEncode?: boolean | cdktf.IResolvable; /** * List of url to purge. 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_purge#urls CdnUrlPurge#urls} */ readonly urls: string[]; } export interface CdnUrlPurgePurgeHistory { } export declare function cdnUrlPurgePurgeHistoryToTerraform(struct?: CdnUrlPurgePurgeHistory): any; export declare function cdnUrlPurgePurgeHistoryToHclTerraform(struct?: CdnUrlPurgePurgeHistory): any; export declare class CdnUrlPurgePurgeHistoryOutputReference 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(): CdnUrlPurgePurgeHistory | undefined; set internalValue(value: CdnUrlPurgePurgeHistory | undefined); get createTime(): any; get flushType(): any; get purgeType(): any; get status(): any; get taskId(): any; get url(): any; } export declare class CdnUrlPurgePurgeHistoryList 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): CdnUrlPurgePurgeHistoryOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_purge tencentcloud_cdn_url_purge} */ export declare class CdnUrlPurge extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cdn_url_purge"; /** * Generates CDKTF code for importing a CdnUrlPurge 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 CdnUrlPurge to import * @param importFromId The id of the existing CdnUrlPurge that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cdn_url_purge#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CdnUrlPurge 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_purge tencentcloud_cdn_url_purge} 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 CdnUrlPurgeConfig */ constructor(scope: Construct, id: string, config: CdnUrlPurgeConfig); 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 _purgeHistory; get purgeHistory(): CdnUrlPurgePurgeHistoryList; private _redo?; get redo(): number; set redo(value: number); resetRedo(): void; get redoInput(): number; get taskId(): any; private _urlEncode?; get urlEncode(): boolean | cdktf.IResolvable; set urlEncode(value: boolean | cdktf.IResolvable); resetUrlEncode(): void; get urlEncodeInput(): any; private _urls?; get urls(): string[]; set urls(value: string[]); get urlsInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }