import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdnResourceConfig extends cdktf.TerraformMetaArguments { /** * Flag to create Resource either in active or disabled state. `True` - the content from CDN is available to clients. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#active CdnResource#active} */ readonly active?: boolean | cdktf.IResolvable; /** * CDN endpoint CNAME, must be unique among resources. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#cname CdnResource#cname} */ readonly cname: string; /** * The folder identifier that resource belongs to. If it is not provided, the default provider `folder-id` is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#folder_id CdnResource#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#id CdnResource#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; /** * A set of key/value label pairs which assigned to resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#labels CdnResource#labels} */ readonly labels?: { [key: string]: string; }; /** * The ID of a specific origin group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#origin_group_id CdnResource#origin_group_id} */ readonly originGroupId?: string; /** * The name of a specific origin group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#origin_group_name CdnResource#origin_group_name} */ readonly originGroupName?: string; /** * Protocol of origin resource. `http` or `https`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#origin_protocol CdnResource#origin_protocol} */ readonly originProtocol?: string; /** * CDN provider is a content delivery service provider. Possible values: "ourcdn" (default) or "gcore" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#provider_type CdnResource#provider_type} */ readonly providerType?: string; /** * List of secondary hostname strings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#secondary_hostnames CdnResource#secondary_hostnames} */ readonly secondaryHostnames?: string[]; /** * Shielding is a Cloud CDN feature that helps reduce the load on content origins from CDN servers. * Specify location id to enable shielding. See https://yandex.cloud/en/docs/cdn/operations/resources/enable-shielding * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#shielding CdnResource#shielding} */ readonly shielding?: string; /** * Last update timestamp. Computed value for read and update operations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#updated_at CdnResource#updated_at} */ readonly updatedAt?: string; /** * options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#options CdnResource#options} */ readonly options?: CdnResourceOptions; /** * ssl_certificate block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#ssl_certificate CdnResource#ssl_certificate} */ readonly sslCertificate?: CdnResourceSslCertificate; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#timeouts CdnResource#timeouts} */ readonly timeouts?: CdnResourceTimeouts; } export interface CdnResourceOptionsEdgeCacheSettingsCodes { /** * Caching time for a response with specific codes. These settings have a higher priority than the `value` field. Response code (`304`, `404` for example). Use `any` to specify caching time for all response codes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#custom_values CdnResource#custom_values} */ readonly customValues?: { [key: string]: number; }; /** * Caching time for a response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use `0` disable to caching. Use `custom_values` field to specify a custom caching time for a response with specific codes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#value CdnResource#value} */ readonly value?: number; } export declare function cdnResourceOptionsEdgeCacheSettingsCodesToTerraform(struct?: CdnResourceOptionsEdgeCacheSettingsCodesOutputReference | CdnResourceOptionsEdgeCacheSettingsCodes): any; export declare function cdnResourceOptionsEdgeCacheSettingsCodesToHclTerraform(struct?: CdnResourceOptionsEdgeCacheSettingsCodesOutputReference | CdnResourceOptionsEdgeCacheSettingsCodes): any; export declare class CdnResourceOptionsEdgeCacheSettingsCodesOutputReference 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(): CdnResourceOptionsEdgeCacheSettingsCodes | undefined; set internalValue(value: CdnResourceOptionsEdgeCacheSettingsCodes | undefined); private _customValues?; get customValues(): { [key: string]: number; }; set customValues(value: { [key: string]: number; }); resetCustomValues(): void; get customValuesInput(): { [key: string]: number; }; private _value?; get value(): number; set value(value: number); resetValue(): void; get valueInput(): number; } export interface CdnResourceOptionsIpAddressAcl { /** * The list of specified IP addresses to be allowed or denied depending on acl policy type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#excepted_values CdnResource#excepted_values} */ readonly exceptedValues?: string[]; /** * The policy type for ACL. One of `allow` or `deny` values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#policy_type CdnResource#policy_type} */ readonly policyType?: string; } export declare function cdnResourceOptionsIpAddressAclToTerraform(struct?: CdnResourceOptionsIpAddressAclOutputReference | CdnResourceOptionsIpAddressAcl): any; export declare function cdnResourceOptionsIpAddressAclToHclTerraform(struct?: CdnResourceOptionsIpAddressAclOutputReference | CdnResourceOptionsIpAddressAcl): any; export declare class CdnResourceOptionsIpAddressAclOutputReference 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(): CdnResourceOptionsIpAddressAcl | undefined; set internalValue(value: CdnResourceOptionsIpAddressAcl | undefined); private _exceptedValues?; get exceptedValues(): string[]; set exceptedValues(value: string[]); resetExceptedValues(): void; get exceptedValuesInput(): string[]; private _policyType?; get policyType(): string; set policyType(value: string); resetPolicyType(): void; get policyTypeInput(): string; } export interface CdnResourceOptions { /** * HTTP methods for your CDN content. By default the following methods are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. In case some methods are not allowed to the user, they will get the 405 (Method Not Allowed) response. If the method is not supported, the user gets the 501 (Not Implemented) response. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#allowed_http_methods CdnResource#allowed_http_methods} */ readonly allowedHttpMethods?: string[]; /** * Set up a cache period for the end-users browser. Content will be cached due to origin settings. If there are no cache settings on your origin, the content will not be cached. The list of HTTP response codes that can be cached in browsers: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308. Other response codes will not be cached. The default value is 4 days. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#browser_cache_settings CdnResource#browser_cache_settings} */ readonly browserCacheSettings?: number; /** * List HTTP headers that must be included in responses to clients. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#cache_http_headers CdnResource#cache_http_headers} */ readonly cacheHttpHeaders?: string[]; /** * Parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#cors CdnResource#cors} */ readonly cors?: string[]; /** * Custom value for the Host header. Your server must be able to process requests with the chosen header. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#custom_host_header CdnResource#custom_host_header} */ readonly customHostHeader?: string; /** * Wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#custom_server_name CdnResource#custom_server_name} */ readonly customServerName?: string; /** * Setup a cache status. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#disable_cache CdnResource#disable_cache} */ readonly disableCache?: boolean | cdktf.IResolvable; /** * Disabling proxy force ranges. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#disable_proxy_force_ranges CdnResource#disable_proxy_force_ranges} */ readonly disableProxyForceRanges?: boolean | cdktf.IResolvable; /** * Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 if an origin server does not have caching HTTP headers. Responses with other codes will not be cached. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#edge_cache_settings CdnResource#edge_cache_settings} */ readonly edgeCacheSettings?: number; /** * Enable access limiting by IP addresses, option available only with setting secure_key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#enable_ip_url_signing CdnResource#enable_ip_url_signing} */ readonly enableIpUrlSigning?: boolean | cdktf.IResolvable; /** * Option helps you to reduce the bandwidth between origin and CDN servers. Also, content delivery speed becomes higher because of reducing the time for compressing files in a CDN. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#fetched_compressed CdnResource#fetched_compressed} */ readonly fetchedCompressed?: boolean | cdktf.IResolvable; /** * Choose the Forward Host header option if is important to send in the request to the Origin the same Host header as was sent in the request to CDN server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#forward_host_header CdnResource#forward_host_header} */ readonly forwardHostHeader?: boolean | cdktf.IResolvable; /** * GZip compression at CDN servers reduces file size by 70% and can be as high as 90%. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#gzip_on CdnResource#gzip_on} */ readonly gzipOn?: boolean | cdktf.IResolvable; /** * Set for ignoring cookie. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#ignore_cookie CdnResource#ignore_cookie} */ readonly ignoreCookie?: boolean | cdktf.IResolvable; /** * Files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#ignore_query_params CdnResource#ignore_query_params} */ readonly ignoreQueryParams?: boolean | cdktf.IResolvable; /** * Allows caching for GET, HEAD and POST requests. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#proxy_cache_methods_set CdnResource#proxy_cache_methods_set} */ readonly proxyCacheMethodsSet?: boolean | cdktf.IResolvable; /** * Files with the specified query parameters are cached as objects with the same key, files with other parameters are cached as objects with different keys. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#query_params_blacklist CdnResource#query_params_blacklist} */ readonly queryParamsBlacklist?: string[]; /** * Files with the specified query parameters are cached as objects with different keys, files with other parameters are cached as objects with the same key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#query_params_whitelist CdnResource#query_params_whitelist} */ readonly queryParamsWhitelist?: string[]; /** * Set up a redirect from HTTP to HTTPS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#redirect_http_to_https CdnResource#redirect_http_to_https} */ readonly redirectHttpToHttps?: boolean | cdktf.IResolvable; /** * Set up a redirect from HTTPS to HTTP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#redirect_https_to_http CdnResource#redirect_https_to_http} */ readonly redirectHttpsToHttp?: boolean | cdktf.IResolvable; /** * Defines flag for the Rewrite option (default: `BREAK`). * `LAST` - Stops processing of the current set of ngx_http_rewrite_module directives and starts a search for a new location matching changed URI. * `BREAK` - Stops processing of the current set of the Rewrite option. * `REDIRECT` - Returns a temporary redirect with the 302 code; It is used when a replacement string does not start with "http://", "https://", or "$scheme" * `PERMANENT` - Returns a permanent redirect with the 301 code. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#rewrite_flag CdnResource#rewrite_flag} */ readonly rewriteFlag?: string; /** * An option for changing or redirecting query paths. The value must have the following format: ` `, where both paths are regular expressions which use at least one group. E.g., `/foo/(.*) /bar/$1`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#rewrite_pattern CdnResource#rewrite_pattern} */ readonly rewritePattern?: string; /** * Set secure key for url encoding to protect contect and limit access by IP addresses and time limits. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#secure_key CdnResource#secure_key} */ readonly secureKey?: string; /** * Files larger than 10 MB will be requested and cached in parts (no larger than 10 MB each part). It reduces time to first byte. The origin must support HTTP Range requests. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#slice CdnResource#slice} */ readonly slice?: boolean | cdktf.IResolvable; /** * List of errors which instruct CDN servers to serve stale content to clients. Possible values: `error`, `http_403`, `http_404`, `http_429`, `http_500`, `http_502`, `http_503`, `http_504`, `invalid_header`, `timeout`, `updating`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#stale CdnResource#stale} */ readonly stale?: string[]; /** * Set up custom headers that CDN servers will send in requests to origins. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#static_request_headers CdnResource#static_request_headers} */ readonly staticRequestHeaders?: { [key: string]: string; }; /** * Set up a static response header. The header name must be lowercase. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#static_response_headers CdnResource#static_response_headers} */ readonly staticResponseHeaders?: { [key: string]: string; }; /** * edge_cache_settings_codes block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#edge_cache_settings_codes CdnResource#edge_cache_settings_codes} */ readonly edgeCacheSettingsCodes?: CdnResourceOptionsEdgeCacheSettingsCodes; /** * ip_address_acl block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#ip_address_acl CdnResource#ip_address_acl} */ readonly ipAddressAcl?: CdnResourceOptionsIpAddressAcl; } export declare function cdnResourceOptionsToTerraform(struct?: CdnResourceOptionsOutputReference | CdnResourceOptions): any; export declare function cdnResourceOptionsToHclTerraform(struct?: CdnResourceOptionsOutputReference | CdnResourceOptions): any; export declare class CdnResourceOptionsOutputReference 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(): CdnResourceOptions | undefined; set internalValue(value: CdnResourceOptions | undefined); private _allowedHttpMethods?; get allowedHttpMethods(): string[]; set allowedHttpMethods(value: string[]); resetAllowedHttpMethods(): void; get allowedHttpMethodsInput(): string[]; private _browserCacheSettings?; get browserCacheSettings(): number; set browserCacheSettings(value: number); resetBrowserCacheSettings(): void; get browserCacheSettingsInput(): number; private _cacheHttpHeaders?; get cacheHttpHeaders(): string[]; set cacheHttpHeaders(value: string[]); resetCacheHttpHeaders(): void; get cacheHttpHeadersInput(): string[]; private _cors?; get cors(): string[]; set cors(value: string[]); resetCors(): void; get corsInput(): string[]; private _customHostHeader?; get customHostHeader(): string; set customHostHeader(value: string); resetCustomHostHeader(): void; get customHostHeaderInput(): string; private _customServerName?; get customServerName(): string; set customServerName(value: string); resetCustomServerName(): void; get customServerNameInput(): string; private _disableCache?; get disableCache(): boolean | cdktf.IResolvable; set disableCache(value: boolean | cdktf.IResolvable); resetDisableCache(): void; get disableCacheInput(): any; private _disableProxyForceRanges?; get disableProxyForceRanges(): boolean | cdktf.IResolvable; set disableProxyForceRanges(value: boolean | cdktf.IResolvable); resetDisableProxyForceRanges(): void; get disableProxyForceRangesInput(): any; private _edgeCacheSettings?; get edgeCacheSettings(): number; set edgeCacheSettings(value: number); resetEdgeCacheSettings(): void; get edgeCacheSettingsInput(): number; private _enableIpUrlSigning?; get enableIpUrlSigning(): boolean | cdktf.IResolvable; set enableIpUrlSigning(value: boolean | cdktf.IResolvable); resetEnableIpUrlSigning(): void; get enableIpUrlSigningInput(): any; private _fetchedCompressed?; get fetchedCompressed(): boolean | cdktf.IResolvable; set fetchedCompressed(value: boolean | cdktf.IResolvable); resetFetchedCompressed(): void; get fetchedCompressedInput(): any; private _forwardHostHeader?; get forwardHostHeader(): boolean | cdktf.IResolvable; set forwardHostHeader(value: boolean | cdktf.IResolvable); resetForwardHostHeader(): void; get forwardHostHeaderInput(): any; private _gzipOn?; get gzipOn(): boolean | cdktf.IResolvable; set gzipOn(value: boolean | cdktf.IResolvable); resetGzipOn(): void; get gzipOnInput(): any; private _ignoreCookie?; get ignoreCookie(): boolean | cdktf.IResolvable; set ignoreCookie(value: boolean | cdktf.IResolvable); resetIgnoreCookie(): void; get ignoreCookieInput(): any; private _ignoreQueryParams?; get ignoreQueryParams(): boolean | cdktf.IResolvable; set ignoreQueryParams(value: boolean | cdktf.IResolvable); resetIgnoreQueryParams(): void; get ignoreQueryParamsInput(): any; private _proxyCacheMethodsSet?; get proxyCacheMethodsSet(): boolean | cdktf.IResolvable; set proxyCacheMethodsSet(value: boolean | cdktf.IResolvable); resetProxyCacheMethodsSet(): void; get proxyCacheMethodsSetInput(): any; private _queryParamsBlacklist?; get queryParamsBlacklist(): string[]; set queryParamsBlacklist(value: string[]); resetQueryParamsBlacklist(): void; get queryParamsBlacklistInput(): string[]; private _queryParamsWhitelist?; get queryParamsWhitelist(): string[]; set queryParamsWhitelist(value: string[]); resetQueryParamsWhitelist(): void; get queryParamsWhitelistInput(): string[]; private _redirectHttpToHttps?; get redirectHttpToHttps(): boolean | cdktf.IResolvable; set redirectHttpToHttps(value: boolean | cdktf.IResolvable); resetRedirectHttpToHttps(): void; get redirectHttpToHttpsInput(): any; private _redirectHttpsToHttp?; get redirectHttpsToHttp(): boolean | cdktf.IResolvable; set redirectHttpsToHttp(value: boolean | cdktf.IResolvable); resetRedirectHttpsToHttp(): void; get redirectHttpsToHttpInput(): any; private _rewriteFlag?; get rewriteFlag(): string; set rewriteFlag(value: string); resetRewriteFlag(): void; get rewriteFlagInput(): string; private _rewritePattern?; get rewritePattern(): string; set rewritePattern(value: string); resetRewritePattern(): void; get rewritePatternInput(): string; private _secureKey?; get secureKey(): string; set secureKey(value: string); resetSecureKey(): void; get secureKeyInput(): string; private _slice?; get slice(): boolean | cdktf.IResolvable; set slice(value: boolean | cdktf.IResolvable); resetSlice(): void; get sliceInput(): any; private _stale?; get stale(): string[]; set stale(value: string[]); resetStale(): void; get staleInput(): string[]; private _staticRequestHeaders?; get staticRequestHeaders(): { [key: string]: string; }; set staticRequestHeaders(value: { [key: string]: string; }); resetStaticRequestHeaders(): void; get staticRequestHeadersInput(): { [key: string]: string; }; private _staticResponseHeaders?; get staticResponseHeaders(): { [key: string]: string; }; set staticResponseHeaders(value: { [key: string]: string; }); resetStaticResponseHeaders(): void; get staticResponseHeadersInput(): { [key: string]: string; }; private _edgeCacheSettingsCodes; get edgeCacheSettingsCodes(): CdnResourceOptionsEdgeCacheSettingsCodesOutputReference; putEdgeCacheSettingsCodes(value: CdnResourceOptionsEdgeCacheSettingsCodes): void; resetEdgeCacheSettingsCodes(): void; get edgeCacheSettingsCodesInput(): CdnResourceOptionsEdgeCacheSettingsCodes; private _ipAddressAcl; get ipAddressAcl(): CdnResourceOptionsIpAddressAclOutputReference; putIpAddressAcl(value: CdnResourceOptionsIpAddressAcl): void; resetIpAddressAcl(): void; get ipAddressAclInput(): CdnResourceOptionsIpAddressAcl; } export interface CdnResourceSslCertificate { /** * Certificate Manager ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#certificate_manager_id CdnResource#certificate_manager_id} */ readonly certificateManagerId?: string; /** * SSL certificate type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#type CdnResource#type} */ readonly type: string; } export declare function cdnResourceSslCertificateToTerraform(struct?: CdnResourceSslCertificateOutputReference | CdnResourceSslCertificate): any; export declare function cdnResourceSslCertificateToHclTerraform(struct?: CdnResourceSslCertificateOutputReference | CdnResourceSslCertificate): any; export declare class CdnResourceSslCertificateOutputReference 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(): CdnResourceSslCertificate | undefined; set internalValue(value: CdnResourceSslCertificate | undefined); private _certificateManagerId?; get certificateManagerId(): string; set certificateManagerId(value: string); resetCertificateManagerId(): void; get certificateManagerIdInput(): string; get status(): any; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export interface CdnResourceTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#create CdnResource#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#delete CdnResource#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#read CdnResource#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#update CdnResource#update} */ readonly update?: string; } export declare function cdnResourceTimeoutsToTerraform(struct?: CdnResourceTimeouts | cdktf.IResolvable): any; export declare function cdnResourceTimeoutsToHclTerraform(struct?: CdnResourceTimeouts | cdktf.IResolvable): any; export declare class CdnResourceTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): CdnResourceTimeouts | cdktf.IResolvable | undefined; set internalValue(value: CdnResourceTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource yandex_cdn_resource} */ export declare class CdnResource extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_cdn_resource"; /** * Generates CDKTF code for importing a CdnResource 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 CdnResource to import * @param importFromId The id of the existing CdnResource that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CdnResource 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/yandex-cloud/yandex/0.177.0/docs/resources/cdn_resource yandex_cdn_resource} 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 CdnResourceConfig */ constructor(scope: Construct, id: string, config: CdnResourceConfig); private _active?; get active(): boolean | cdktf.IResolvable; set active(value: boolean | cdktf.IResolvable); resetActive(): void; get activeInput(): any; private _cname?; get cname(): string; set cname(value: string); get cnameInput(): string; get createdAt(): any; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _originGroupId?; get originGroupId(): string; set originGroupId(value: string); resetOriginGroupId(): void; get originGroupIdInput(): string; private _originGroupName?; get originGroupName(): string; set originGroupName(value: string); resetOriginGroupName(): void; get originGroupNameInput(): string; private _originProtocol?; get originProtocol(): string; set originProtocol(value: string); resetOriginProtocol(): void; get originProtocolInput(): string; get providerCname(): any; private _providerType?; get providerType(): string; set providerType(value: string); resetProviderType(): void; get providerTypeInput(): string; private _secondaryHostnames?; get secondaryHostnames(): string[]; set secondaryHostnames(value: string[]); resetSecondaryHostnames(): void; get secondaryHostnamesInput(): string[]; private _shielding?; get shielding(): string; set shielding(value: string); resetShielding(): void; get shieldingInput(): string; private _updatedAt?; get updatedAt(): string; set updatedAt(value: string); resetUpdatedAt(): void; get updatedAtInput(): string; private _options; get options(): CdnResourceOptionsOutputReference; putOptions(value: CdnResourceOptions): void; resetOptions(): void; get optionsInput(): CdnResourceOptions; private _sslCertificate; get sslCertificate(): CdnResourceSslCertificateOutputReference; putSslCertificate(value: CdnResourceSslCertificate): void; resetSslCertificate(): void; get sslCertificateInput(): CdnResourceSslCertificate; private _timeouts; get timeouts(): CdnResourceTimeoutsOutputReference; putTimeouts(value: CdnResourceTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }