import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TeoZoneSettingConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#id TeoZoneSetting#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; /** * Site ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#zone_id TeoZoneSetting#zone_id} */ readonly zoneId: string; /** * cache block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#cache TeoZoneSetting#cache} */ readonly cache?: TeoZoneSettingCache; /** * cache_key block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#cache_key TeoZoneSetting#cache_key} */ readonly cacheKey?: TeoZoneSettingCacheKey; /** * cache_prefresh block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#cache_prefresh TeoZoneSetting#cache_prefresh} */ readonly cachePrefresh?: TeoZoneSettingCachePrefresh; /** * client_ip_header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#client_ip_header TeoZoneSetting#client_ip_header} */ readonly clientIpHeader?: TeoZoneSettingClientIpHeader; /** * compression block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#compression TeoZoneSetting#compression} */ readonly compression?: TeoZoneSettingCompression; /** * force_redirect block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#force_redirect TeoZoneSetting#force_redirect} */ readonly forceRedirect?: TeoZoneSettingForceRedirect; /** * https block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#https TeoZoneSetting#https} */ readonly https?: TeoZoneSettingHttps; /** * ipv6 block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#ipv6 TeoZoneSetting#ipv6} */ readonly ipv6?: TeoZoneSettingIpv6; /** * max_age block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#max_age TeoZoneSetting#max_age} */ readonly maxAge?: TeoZoneSettingMaxAge; /** * offline_cache block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#offline_cache TeoZoneSetting#offline_cache} */ readonly offlineCache?: TeoZoneSettingOfflineCache; /** * origin block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#origin TeoZoneSetting#origin} */ readonly origin?: TeoZoneSettingOrigin; /** * post_max_size block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#post_max_size TeoZoneSetting#post_max_size} */ readonly postMaxSize?: TeoZoneSettingPostMaxSize; /** * quic block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#quic TeoZoneSetting#quic} */ readonly quic?: TeoZoneSettingQuic; /** * smart_routing block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#smart_routing TeoZoneSetting#smart_routing} */ readonly smartRouting?: TeoZoneSettingSmartRouting; /** * upstream_http2 block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#upstream_http2 TeoZoneSetting#upstream_http2} */ readonly upstreamHttp2?: TeoZoneSettingUpstreamHttp2; /** * web_socket block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#web_socket TeoZoneSetting#web_socket} */ readonly webSocket?: TeoZoneSettingWebSocket; } export interface TeoZoneSettingCacheCache { /** * Cache expiration time settings. * Unit: second. The maximum value is 365 days. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#cache_time TeoZoneSetting#cache_time} */ readonly cacheTime?: number; /** * Cache configuration switch. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch?: string; } export declare function teoZoneSettingCacheCacheToTerraform(struct?: TeoZoneSettingCacheCacheOutputReference | TeoZoneSettingCacheCache): any; export declare function teoZoneSettingCacheCacheToHclTerraform(struct?: TeoZoneSettingCacheCacheOutputReference | TeoZoneSettingCacheCache): any; export declare class TeoZoneSettingCacheCacheOutputReference 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(): TeoZoneSettingCacheCache | undefined; set internalValue(value: TeoZoneSettingCacheCache | undefined); private _cacheTime?; get cacheTime(): number; set cacheTime(value: number); resetCacheTime(): void; get cacheTimeInput(): number; private _switch?; get switch(): string; set switch(value: string); resetSwitch(): void; get switchInput(): string; } export interface TeoZoneSettingCacheFollowOrigin { /** * Specifies whether to follow the origin server configuration. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch?: string; } export declare function teoZoneSettingCacheFollowOriginToTerraform(struct?: TeoZoneSettingCacheFollowOriginOutputReference | TeoZoneSettingCacheFollowOrigin): any; export declare function teoZoneSettingCacheFollowOriginToHclTerraform(struct?: TeoZoneSettingCacheFollowOriginOutputReference | TeoZoneSettingCacheFollowOrigin): any; export declare class TeoZoneSettingCacheFollowOriginOutputReference 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(): TeoZoneSettingCacheFollowOrigin | undefined; set internalValue(value: TeoZoneSettingCacheFollowOrigin | undefined); private _switch?; get switch(): string; set switch(value: string); resetSwitch(): void; get switchInput(): string; } export interface TeoZoneSettingCacheNoCache { /** * Whether to cache the configuration. * - `on`: Do not cache. * - `off`: Cache. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch?: string; } export declare function teoZoneSettingCacheNoCacheToTerraform(struct?: TeoZoneSettingCacheNoCacheOutputReference | TeoZoneSettingCacheNoCache): any; export declare function teoZoneSettingCacheNoCacheToHclTerraform(struct?: TeoZoneSettingCacheNoCacheOutputReference | TeoZoneSettingCacheNoCache): any; export declare class TeoZoneSettingCacheNoCacheOutputReference 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(): TeoZoneSettingCacheNoCache | undefined; set internalValue(value: TeoZoneSettingCacheNoCache | undefined); private _switch?; get switch(): string; set switch(value: string); resetSwitch(): void; get switchInput(): string; } export interface TeoZoneSettingCache { /** * cache block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#cache TeoZoneSetting#cache} */ readonly cache?: TeoZoneSettingCacheCache; /** * follow_origin block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#follow_origin TeoZoneSetting#follow_origin} */ readonly followOrigin?: TeoZoneSettingCacheFollowOrigin; /** * no_cache block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#no_cache TeoZoneSetting#no_cache} */ readonly noCache?: TeoZoneSettingCacheNoCache; } export declare function teoZoneSettingCacheToTerraform(struct?: TeoZoneSettingCacheOutputReference | TeoZoneSettingCache): any; export declare function teoZoneSettingCacheToHclTerraform(struct?: TeoZoneSettingCacheOutputReference | TeoZoneSettingCache): any; export declare class TeoZoneSettingCacheOutputReference 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(): TeoZoneSettingCache | undefined; set internalValue(value: TeoZoneSettingCache | undefined); private _cache; get cache(): TeoZoneSettingCacheCacheOutputReference; putCache(value: TeoZoneSettingCacheCache): void; resetCache(): void; get cacheInput(): TeoZoneSettingCacheCache; private _followOrigin; get followOrigin(): TeoZoneSettingCacheFollowOriginOutputReference; putFollowOrigin(value: TeoZoneSettingCacheFollowOrigin): void; resetFollowOrigin(): void; get followOriginInput(): TeoZoneSettingCacheFollowOrigin; private _noCache; get noCache(): TeoZoneSettingCacheNoCacheOutputReference; putNoCache(value: TeoZoneSettingCacheNoCache): void; resetNoCache(): void; get noCacheInput(): TeoZoneSettingCacheNoCache; } export interface TeoZoneSettingCacheKeyQueryString { /** * - `includeCustom`: Include the specified query strings. * - `excludeCustom`: Exclude the specified query strings. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#action TeoZoneSetting#action} */ readonly action?: string; /** * Whether to use QueryString as part of CacheKey. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; /** * Array of query strings used/excluded. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#value TeoZoneSetting#value} */ readonly value?: string[]; } export declare function teoZoneSettingCacheKeyQueryStringToTerraform(struct?: TeoZoneSettingCacheKeyQueryStringOutputReference | TeoZoneSettingCacheKeyQueryString): any; export declare function teoZoneSettingCacheKeyQueryStringToHclTerraform(struct?: TeoZoneSettingCacheKeyQueryStringOutputReference | TeoZoneSettingCacheKeyQueryString): any; export declare class TeoZoneSettingCacheKeyQueryStringOutputReference 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(): TeoZoneSettingCacheKeyQueryString | undefined; set internalValue(value: TeoZoneSettingCacheKeyQueryString | undefined); private _action?; get action(): string; set action(value: string); resetAction(): void; get actionInput(): string; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; private _value?; get value(): string[]; set value(value: string[]); resetValue(): void; get valueInput(): string[]; } export interface TeoZoneSettingCacheKey { /** * Specifies whether to enable full-path cache. * - `on`: Enable full-path cache (i.e., disable Ignore Query String). * - `off`: Disable full-path cache (i.e., enable Ignore Query String). Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#full_url_cache TeoZoneSetting#full_url_cache} */ readonly fullUrlCache?: string; /** * Specifies whether the cache key is case-sensitive. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#ignore_case TeoZoneSetting#ignore_case} */ readonly ignoreCase?: string; /** * query_string block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#query_string TeoZoneSetting#query_string} */ readonly queryString?: TeoZoneSettingCacheKeyQueryString; } export declare function teoZoneSettingCacheKeyToTerraform(struct?: TeoZoneSettingCacheKeyOutputReference | TeoZoneSettingCacheKey): any; export declare function teoZoneSettingCacheKeyToHclTerraform(struct?: TeoZoneSettingCacheKeyOutputReference | TeoZoneSettingCacheKey): any; export declare class TeoZoneSettingCacheKeyOutputReference 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(): TeoZoneSettingCacheKey | undefined; set internalValue(value: TeoZoneSettingCacheKey | undefined); private _fullUrlCache?; get fullUrlCache(): string; set fullUrlCache(value: string); resetFullUrlCache(): void; get fullUrlCacheInput(): string; private _ignoreCase?; get ignoreCase(): string; set ignoreCase(value: string); resetIgnoreCase(): void; get ignoreCaseInput(): string; private _queryString; get queryString(): TeoZoneSettingCacheKeyQueryStringOutputReference; putQueryString(value: TeoZoneSettingCacheKeyQueryString): void; resetQueryString(): void; get queryStringInput(): TeoZoneSettingCacheKeyQueryString; } export interface TeoZoneSettingCachePrefresh { /** * Percentage of cache time before try to prefresh. Valid value range: 1-99. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#percent TeoZoneSetting#percent} */ readonly percent?: number; /** * Specifies whether to enable cache prefresh. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingCachePrefreshToTerraform(struct?: TeoZoneSettingCachePrefreshOutputReference | TeoZoneSettingCachePrefresh): any; export declare function teoZoneSettingCachePrefreshToHclTerraform(struct?: TeoZoneSettingCachePrefreshOutputReference | TeoZoneSettingCachePrefresh): any; export declare class TeoZoneSettingCachePrefreshOutputReference 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(): TeoZoneSettingCachePrefresh | undefined; set internalValue(value: TeoZoneSettingCachePrefresh | undefined); private _percent?; get percent(): number; set percent(value: number); resetPercent(): void; get percentInput(): number; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingClientIpHeader { /** * Name of the origin-pull client IP request header. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#header_name TeoZoneSetting#header_name} */ readonly headerName?: string; /** * Specifies whether to enable client IP header. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingClientIpHeaderToTerraform(struct?: TeoZoneSettingClientIpHeaderOutputReference | TeoZoneSettingClientIpHeader): any; export declare function teoZoneSettingClientIpHeaderToHclTerraform(struct?: TeoZoneSettingClientIpHeaderOutputReference | TeoZoneSettingClientIpHeader): any; export declare class TeoZoneSettingClientIpHeaderOutputReference 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(): TeoZoneSettingClientIpHeader | undefined; set internalValue(value: TeoZoneSettingClientIpHeader | undefined); private _headerName?; get headerName(): string; set headerName(value: string); resetHeaderName(): void; get headerNameInput(): string; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingCompression { /** * Compression algorithms to select. Valid values: `brotli`, `gzip`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#algorithms TeoZoneSetting#algorithms} */ readonly algorithms?: string[]; /** * Whether to enable Smart compression. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingCompressionToTerraform(struct?: TeoZoneSettingCompressionOutputReference | TeoZoneSettingCompression): any; export declare function teoZoneSettingCompressionToHclTerraform(struct?: TeoZoneSettingCompressionOutputReference | TeoZoneSettingCompression): any; export declare class TeoZoneSettingCompressionOutputReference 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(): TeoZoneSettingCompression | undefined; set internalValue(value: TeoZoneSettingCompression | undefined); private _algorithms?; get algorithms(): string[]; set algorithms(value: string[]); resetAlgorithms(): void; get algorithmsInput(): string[]; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingForceRedirect { /** * Redirection status code. * - 301 * - 302 Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#redirect_status_code TeoZoneSetting#redirect_status_code} */ readonly redirectStatusCode?: number; /** * Whether to enable force redirect. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingForceRedirectToTerraform(struct?: TeoZoneSettingForceRedirectOutputReference | TeoZoneSettingForceRedirect): any; export declare function teoZoneSettingForceRedirectToHclTerraform(struct?: TeoZoneSettingForceRedirectOutputReference | TeoZoneSettingForceRedirect): any; export declare class TeoZoneSettingForceRedirectOutputReference 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(): TeoZoneSettingForceRedirect | undefined; set internalValue(value: TeoZoneSettingForceRedirect | undefined); private _redirectStatusCode?; get redirectStatusCode(): number; set redirectStatusCode(value: number); resetRedirectStatusCode(): void; get redirectStatusCodeInput(): number; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingHttpsHsts { /** * Specifies whether to include subdomain names. Valid values: `on` and `off`. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#include_sub_domains TeoZoneSetting#include_sub_domains} */ readonly includeSubDomains?: string; /** * MaxAge value in seconds, should be no more than 1 day. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#max_age TeoZoneSetting#max_age} */ readonly maxAge?: number; /** * Specifies whether to preload. Valid values: `on` and `off`. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#preload TeoZoneSetting#preload} */ readonly preload?: string; /** * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingHttpsHstsToTerraform(struct?: TeoZoneSettingHttpsHstsOutputReference | TeoZoneSettingHttpsHsts): any; export declare function teoZoneSettingHttpsHstsToHclTerraform(struct?: TeoZoneSettingHttpsHstsOutputReference | TeoZoneSettingHttpsHsts): any; export declare class TeoZoneSettingHttpsHstsOutputReference 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(): TeoZoneSettingHttpsHsts | undefined; set internalValue(value: TeoZoneSettingHttpsHsts | undefined); private _includeSubDomains?; get includeSubDomains(): string; set includeSubDomains(value: string); resetIncludeSubDomains(): void; get includeSubDomainsInput(): string; private _maxAge?; get maxAge(): number; set maxAge(value: number); resetMaxAge(): void; get maxAgeInput(): number; private _preload?; get preload(): string; set preload(value: string); resetPreload(): void; get preloadInput(): string; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingHttps { /** * HTTP2 configuration switch. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#http2 TeoZoneSetting#http2} */ readonly http2?: string; /** * OCSP configuration switch. * - `on`: Enable. * - `off`: Disable. * It is disabled by default. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#ocsp_stapling TeoZoneSetting#ocsp_stapling} */ readonly ocspStapling?: string; /** * TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. * Only consecutive versions can be enabled at the same time. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#tls_version TeoZoneSetting#tls_version} */ readonly tlsVersion?: string[]; /** * hsts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#hsts TeoZoneSetting#hsts} */ readonly hsts?: TeoZoneSettingHttpsHsts; } export declare function teoZoneSettingHttpsToTerraform(struct?: TeoZoneSettingHttpsOutputReference | TeoZoneSettingHttps): any; export declare function teoZoneSettingHttpsToHclTerraform(struct?: TeoZoneSettingHttpsOutputReference | TeoZoneSettingHttps): any; export declare class TeoZoneSettingHttpsOutputReference 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(): TeoZoneSettingHttps | undefined; set internalValue(value: TeoZoneSettingHttps | undefined); private _http2?; get http2(): string; set http2(value: string); resetHttp2(): void; get http2Input(): string; private _ocspStapling?; get ocspStapling(): string; set ocspStapling(value: string); resetOcspStapling(): void; get ocspStaplingInput(): string; private _tlsVersion?; get tlsVersion(): string[]; set tlsVersion(value: string[]); resetTlsVersion(): void; get tlsVersionInput(): string[]; private _hsts; get hsts(): TeoZoneSettingHttpsHstsOutputReference; putHsts(value: TeoZoneSettingHttpsHsts): void; resetHsts(): void; get hstsInput(): TeoZoneSettingHttpsHsts; } export interface TeoZoneSettingIpv6 { /** * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingIpv6ToTerraform(struct?: TeoZoneSettingIpv6OutputReference | TeoZoneSettingIpv6): any; export declare function teoZoneSettingIpv6ToHclTerraform(struct?: TeoZoneSettingIpv6OutputReference | TeoZoneSettingIpv6): any; export declare class TeoZoneSettingIpv6OutputReference 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(): TeoZoneSettingIpv6 | undefined; set internalValue(value: TeoZoneSettingIpv6 | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingMaxAge { /** * Specifies whether to follow the max cache age of the origin server. * - `on`: Enable. * - `off`: Disable. * If it's on, MaxAgeTime is ignored. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#follow_origin TeoZoneSetting#follow_origin} */ readonly followOrigin?: string; /** * Specifies the max age of the cache (in seconds). The maximum value is 365 days. Note: the value 0 means not to cache. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#max_age_time TeoZoneSetting#max_age_time} */ readonly maxAgeTime?: number; } export declare function teoZoneSettingMaxAgeToTerraform(struct?: TeoZoneSettingMaxAgeOutputReference | TeoZoneSettingMaxAge): any; export declare function teoZoneSettingMaxAgeToHclTerraform(struct?: TeoZoneSettingMaxAgeOutputReference | TeoZoneSettingMaxAge): any; export declare class TeoZoneSettingMaxAgeOutputReference 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(): TeoZoneSettingMaxAge | undefined; set internalValue(value: TeoZoneSettingMaxAge | undefined); private _followOrigin?; get followOrigin(): string; set followOrigin(value: string); resetFollowOrigin(): void; get followOriginInput(): string; private _maxAgeTime?; get maxAgeTime(): number; set maxAgeTime(value: number); resetMaxAgeTime(): void; get maxAgeTimeInput(): number; } export interface TeoZoneSettingOfflineCache { /** * Whether to enable offline cache. * - `on`: Enable. * - `off`: Disable. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingOfflineCacheToTerraform(struct?: TeoZoneSettingOfflineCacheOutputReference | TeoZoneSettingOfflineCache): any; export declare function teoZoneSettingOfflineCacheToHclTerraform(struct?: TeoZoneSettingOfflineCacheOutputReference | TeoZoneSettingOfflineCache): any; export declare class TeoZoneSettingOfflineCacheOutputReference 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(): TeoZoneSettingOfflineCache | undefined; set internalValue(value: TeoZoneSettingOfflineCache | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingOrigin { /** * Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#backup_origins TeoZoneSetting#backup_origins} */ readonly backupOrigins?: string[]; /** * Origin-pull protocol. * - `http`: Switch HTTPS requests to HTTP. * - `follow`: Follow the protocol of the request. * - `https`: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#origin_pull_protocol TeoZoneSetting#origin_pull_protocol} */ readonly originPullProtocol?: string; /** * Origin sites list. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#origins TeoZoneSetting#origins} */ readonly origins?: string[]; } export declare function teoZoneSettingOriginToTerraform(struct?: TeoZoneSettingOriginOutputReference | TeoZoneSettingOrigin): any; export declare function teoZoneSettingOriginToHclTerraform(struct?: TeoZoneSettingOriginOutputReference | TeoZoneSettingOrigin): any; export declare class TeoZoneSettingOriginOutputReference 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(): TeoZoneSettingOrigin | undefined; set internalValue(value: TeoZoneSettingOrigin | undefined); private _backupOrigins?; get backupOrigins(): string[]; set backupOrigins(value: string[]); resetBackupOrigins(): void; get backupOriginsInput(): string[]; private _originPullProtocol?; get originPullProtocol(): string; set originPullProtocol(value: string); resetOriginPullProtocol(): void; get originPullProtocolInput(): string; private _origins?; get origins(): string[]; set origins(value: string[]); resetOrigins(): void; get originsInput(): string[]; } export interface TeoZoneSettingPostMaxSize { /** * Maximum size. Value range: 1-500 MB. Note: This field may return null, indicating that no valid value can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#max_size TeoZoneSetting#max_size} */ readonly maxSize?: number; /** * Specifies whether to enable custom setting of the maximum file size. * - `on`: Enable. You can set a custom max size. * - `off`: Disable. In this case, the max size defaults to 32 MB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingPostMaxSizeToTerraform(struct?: TeoZoneSettingPostMaxSizeOutputReference | TeoZoneSettingPostMaxSize): any; export declare function teoZoneSettingPostMaxSizeToHclTerraform(struct?: TeoZoneSettingPostMaxSizeOutputReference | TeoZoneSettingPostMaxSize): any; export declare class TeoZoneSettingPostMaxSizeOutputReference 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(): TeoZoneSettingPostMaxSize | undefined; set internalValue(value: TeoZoneSettingPostMaxSize | undefined); private _maxSize?; get maxSize(): number; set maxSize(value: number); resetMaxSize(): void; get maxSizeInput(): number; private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingQuic { /** * Whether to enable QUIC. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingQuicToTerraform(struct?: TeoZoneSettingQuicOutputReference | TeoZoneSettingQuic): any; export declare function teoZoneSettingQuicToHclTerraform(struct?: TeoZoneSettingQuicOutputReference | TeoZoneSettingQuic): any; export declare class TeoZoneSettingQuicOutputReference 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(): TeoZoneSettingQuic | undefined; set internalValue(value: TeoZoneSettingQuic | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingSmartRouting { /** * Whether to enable smart acceleration. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingSmartRoutingToTerraform(struct?: TeoZoneSettingSmartRoutingOutputReference | TeoZoneSettingSmartRouting): any; export declare function teoZoneSettingSmartRoutingToHclTerraform(struct?: TeoZoneSettingSmartRoutingOutputReference | TeoZoneSettingSmartRouting): any; export declare class TeoZoneSettingSmartRoutingOutputReference 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(): TeoZoneSettingSmartRouting | undefined; set internalValue(value: TeoZoneSettingSmartRouting | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingUpstreamHttp2 { /** * Whether to enable HTTP2 origin-pull. * - `on`: Enable. * - `off`: Disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; } export declare function teoZoneSettingUpstreamHttp2ToTerraform(struct?: TeoZoneSettingUpstreamHttp2OutputReference | TeoZoneSettingUpstreamHttp2): any; export declare function teoZoneSettingUpstreamHttp2ToHclTerraform(struct?: TeoZoneSettingUpstreamHttp2OutputReference | TeoZoneSettingUpstreamHttp2): any; export declare class TeoZoneSettingUpstreamHttp2OutputReference 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(): TeoZoneSettingUpstreamHttp2 | undefined; set internalValue(value: TeoZoneSettingUpstreamHttp2 | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; } export interface TeoZoneSettingWebSocket { /** * Whether to enable custom WebSocket timeout setting. When it's off: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to on. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#switch TeoZoneSetting#switch} */ readonly switch: string; /** * Sets timeout period in seconds. Maximum value: 120. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#timeout TeoZoneSetting#timeout} */ readonly timeout?: number; } export declare function teoZoneSettingWebSocketToTerraform(struct?: TeoZoneSettingWebSocketOutputReference | TeoZoneSettingWebSocket): any; export declare function teoZoneSettingWebSocketToHclTerraform(struct?: TeoZoneSettingWebSocketOutputReference | TeoZoneSettingWebSocket): any; export declare class TeoZoneSettingWebSocketOutputReference 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(): TeoZoneSettingWebSocket | undefined; set internalValue(value: TeoZoneSettingWebSocket | undefined); private _switch?; get switch(): string; set switch(value: string); get switchInput(): string; private _timeout?; get timeout(): number; set timeout(value: number); resetTimeout(): void; get timeoutInput(): number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting tencentcloud_teo_zone_setting} */ export declare class TeoZoneSetting extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_teo_zone_setting"; /** * Generates CDKTF code for importing a TeoZoneSetting 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 TeoZoneSetting to import * @param importFromId The id of the existing TeoZoneSetting that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_zone_setting#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TeoZoneSetting 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/teo_zone_setting tencentcloud_teo_zone_setting} 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 TeoZoneSettingConfig */ constructor(scope: Construct, id: string, config: TeoZoneSettingConfig); get area(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _zoneId?; get zoneId(): string; set zoneId(value: string); get zoneIdInput(): string; private _cache; get cache(): TeoZoneSettingCacheOutputReference; putCache(value: TeoZoneSettingCache): void; resetCache(): void; get cacheInput(): TeoZoneSettingCache; private _cacheKey; get cacheKey(): TeoZoneSettingCacheKeyOutputReference; putCacheKey(value: TeoZoneSettingCacheKey): void; resetCacheKey(): void; get cacheKeyInput(): TeoZoneSettingCacheKey; private _cachePrefresh; get cachePrefresh(): TeoZoneSettingCachePrefreshOutputReference; putCachePrefresh(value: TeoZoneSettingCachePrefresh): void; resetCachePrefresh(): void; get cachePrefreshInput(): TeoZoneSettingCachePrefresh; private _clientIpHeader; get clientIpHeader(): TeoZoneSettingClientIpHeaderOutputReference; putClientIpHeader(value: TeoZoneSettingClientIpHeader): void; resetClientIpHeader(): void; get clientIpHeaderInput(): TeoZoneSettingClientIpHeader; private _compression; get compression(): TeoZoneSettingCompressionOutputReference; putCompression(value: TeoZoneSettingCompression): void; resetCompression(): void; get compressionInput(): TeoZoneSettingCompression; private _forceRedirect; get forceRedirect(): TeoZoneSettingForceRedirectOutputReference; putForceRedirect(value: TeoZoneSettingForceRedirect): void; resetForceRedirect(): void; get forceRedirectInput(): TeoZoneSettingForceRedirect; private _https; get https(): TeoZoneSettingHttpsOutputReference; putHttps(value: TeoZoneSettingHttps): void; resetHttps(): void; get httpsInput(): TeoZoneSettingHttps; private _ipv6; get ipv6(): TeoZoneSettingIpv6OutputReference; putIpv6(value: TeoZoneSettingIpv6): void; resetIpv6(): void; get ipv6Input(): TeoZoneSettingIpv6; private _maxAge; get maxAge(): TeoZoneSettingMaxAgeOutputReference; putMaxAge(value: TeoZoneSettingMaxAge): void; resetMaxAge(): void; get maxAgeInput(): TeoZoneSettingMaxAge; private _offlineCache; get offlineCache(): TeoZoneSettingOfflineCacheOutputReference; putOfflineCache(value: TeoZoneSettingOfflineCache): void; resetOfflineCache(): void; get offlineCacheInput(): TeoZoneSettingOfflineCache; private _origin; get origin(): TeoZoneSettingOriginOutputReference; putOrigin(value: TeoZoneSettingOrigin): void; resetOrigin(): void; get originInput(): TeoZoneSettingOrigin; private _postMaxSize; get postMaxSize(): TeoZoneSettingPostMaxSizeOutputReference; putPostMaxSize(value: TeoZoneSettingPostMaxSize): void; resetPostMaxSize(): void; get postMaxSizeInput(): TeoZoneSettingPostMaxSize; private _quic; get quic(): TeoZoneSettingQuicOutputReference; putQuic(value: TeoZoneSettingQuic): void; resetQuic(): void; get quicInput(): TeoZoneSettingQuic; private _smartRouting; get smartRouting(): TeoZoneSettingSmartRoutingOutputReference; putSmartRouting(value: TeoZoneSettingSmartRouting): void; resetSmartRouting(): void; get smartRoutingInput(): TeoZoneSettingSmartRouting; private _upstreamHttp2; get upstreamHttp2(): TeoZoneSettingUpstreamHttp2OutputReference; putUpstreamHttp2(value: TeoZoneSettingUpstreamHttp2): void; resetUpstreamHttp2(): void; get upstreamHttp2Input(): TeoZoneSettingUpstreamHttp2; private _webSocket; get webSocket(): TeoZoneSettingWebSocketOutputReference; putWebSocket(value: TeoZoneSettingWebSocket): void; resetWebSocket(): void; get webSocketInput(): TeoZoneSettingWebSocket; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }