import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataYandexCdnResourceConfig extends cdktf.TerraformMetaArguments { /** * 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/data-sources/cdn_resource#cname DataYandexCdnResource#cname} */ readonly cname?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/cdn_resource#id DataYandexCdnResource#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; /** * The ID of a specific resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/cdn_resource#resource_id DataYandexCdnResource#resource_id} */ readonly resourceId?: string; /** * options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/cdn_resource#options DataYandexCdnResource#options} */ readonly options?: DataYandexCdnResourceOptions; } export interface DataYandexCdnResourceSslCertificate { } export declare function dataYandexCdnResourceSslCertificateToTerraform(struct?: DataYandexCdnResourceSslCertificate): any; export declare function dataYandexCdnResourceSslCertificateToHclTerraform(struct?: DataYandexCdnResourceSslCertificate): any; export declare class DataYandexCdnResourceSslCertificateOutputReference 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(): DataYandexCdnResourceSslCertificate | undefined; set internalValue(value: DataYandexCdnResourceSslCertificate | undefined); get certificateManagerId(): any; get status(): any; get type(): any; } export declare class DataYandexCdnResourceSslCertificateList 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): DataYandexCdnResourceSslCertificateOutputReference; } export interface DataYandexCdnResourceOptionsEdgeCacheSettingsCodes { /** * 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/data-sources/cdn_resource#custom_values DataYandexCdnResource#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/data-sources/cdn_resource#value DataYandexCdnResource#value} */ readonly value?: number; } export declare function dataYandexCdnResourceOptionsEdgeCacheSettingsCodesToTerraform(struct?: DataYandexCdnResourceOptionsEdgeCacheSettingsCodesOutputReference | DataYandexCdnResourceOptionsEdgeCacheSettingsCodes): any; export declare function dataYandexCdnResourceOptionsEdgeCacheSettingsCodesToHclTerraform(struct?: DataYandexCdnResourceOptionsEdgeCacheSettingsCodesOutputReference | DataYandexCdnResourceOptionsEdgeCacheSettingsCodes): any; export declare class DataYandexCdnResourceOptionsEdgeCacheSettingsCodesOutputReference 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(): DataYandexCdnResourceOptionsEdgeCacheSettingsCodes | undefined; set internalValue(value: DataYandexCdnResourceOptionsEdgeCacheSettingsCodes | 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 DataYandexCdnResourceOptionsIpAddressAcl { /** * 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/data-sources/cdn_resource#excepted_values DataYandexCdnResource#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/data-sources/cdn_resource#policy_type DataYandexCdnResource#policy_type} */ readonly policyType?: string; } export declare function dataYandexCdnResourceOptionsIpAddressAclToTerraform(struct?: DataYandexCdnResourceOptionsIpAddressAclOutputReference | DataYandexCdnResourceOptionsIpAddressAcl): any; export declare function dataYandexCdnResourceOptionsIpAddressAclToHclTerraform(struct?: DataYandexCdnResourceOptionsIpAddressAclOutputReference | DataYandexCdnResourceOptionsIpAddressAcl): any; export declare class DataYandexCdnResourceOptionsIpAddressAclOutputReference 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(): DataYandexCdnResourceOptionsIpAddressAcl | undefined; set internalValue(value: DataYandexCdnResourceOptionsIpAddressAcl | 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 DataYandexCdnResourceOptions { /** * 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/data-sources/cdn_resource#allowed_http_methods DataYandexCdnResource#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/data-sources/cdn_resource#browser_cache_settings DataYandexCdnResource#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/data-sources/cdn_resource#cache_http_headers DataYandexCdnResource#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/data-sources/cdn_resource#cors DataYandexCdnResource#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/data-sources/cdn_resource#custom_host_header DataYandexCdnResource#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/data-sources/cdn_resource#custom_server_name DataYandexCdnResource#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/data-sources/cdn_resource#disable_cache DataYandexCdnResource#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/data-sources/cdn_resource#disable_proxy_force_ranges DataYandexCdnResource#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/data-sources/cdn_resource#edge_cache_settings DataYandexCdnResource#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/data-sources/cdn_resource#enable_ip_url_signing DataYandexCdnResource#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/data-sources/cdn_resource#fetched_compressed DataYandexCdnResource#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/data-sources/cdn_resource#forward_host_header DataYandexCdnResource#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/data-sources/cdn_resource#gzip_on DataYandexCdnResource#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/data-sources/cdn_resource#ignore_cookie DataYandexCdnResource#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/data-sources/cdn_resource#ignore_query_params DataYandexCdnResource#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/data-sources/cdn_resource#proxy_cache_methods_set DataYandexCdnResource#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/data-sources/cdn_resource#query_params_blacklist DataYandexCdnResource#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/data-sources/cdn_resource#query_params_whitelist DataYandexCdnResource#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/data-sources/cdn_resource#redirect_http_to_https DataYandexCdnResource#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/data-sources/cdn_resource#redirect_https_to_http DataYandexCdnResource#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/data-sources/cdn_resource#rewrite_flag DataYandexCdnResource#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/data-sources/cdn_resource#rewrite_pattern DataYandexCdnResource#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/data-sources/cdn_resource#secure_key DataYandexCdnResource#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/data-sources/cdn_resource#slice DataYandexCdnResource#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/data-sources/cdn_resource#stale DataYandexCdnResource#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/data-sources/cdn_resource#static_request_headers DataYandexCdnResource#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/data-sources/cdn_resource#static_response_headers DataYandexCdnResource#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/data-sources/cdn_resource#edge_cache_settings_codes DataYandexCdnResource#edge_cache_settings_codes} */ readonly edgeCacheSettingsCodes?: DataYandexCdnResourceOptionsEdgeCacheSettingsCodes; /** * ip_address_acl block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/cdn_resource#ip_address_acl DataYandexCdnResource#ip_address_acl} */ readonly ipAddressAcl?: DataYandexCdnResourceOptionsIpAddressAcl; } export declare function dataYandexCdnResourceOptionsToTerraform(struct?: DataYandexCdnResourceOptionsOutputReference | DataYandexCdnResourceOptions): any; export declare function dataYandexCdnResourceOptionsToHclTerraform(struct?: DataYandexCdnResourceOptionsOutputReference | DataYandexCdnResourceOptions): any; export declare class DataYandexCdnResourceOptionsOutputReference 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(): DataYandexCdnResourceOptions | undefined; set internalValue(value: DataYandexCdnResourceOptions | 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(): DataYandexCdnResourceOptionsEdgeCacheSettingsCodesOutputReference; putEdgeCacheSettingsCodes(value: DataYandexCdnResourceOptionsEdgeCacheSettingsCodes): void; resetEdgeCacheSettingsCodes(): void; get edgeCacheSettingsCodesInput(): DataYandexCdnResourceOptionsEdgeCacheSettingsCodes; private _ipAddressAcl; get ipAddressAcl(): DataYandexCdnResourceOptionsIpAddressAclOutputReference; putIpAddressAcl(value: DataYandexCdnResourceOptionsIpAddressAcl): void; resetIpAddressAcl(): void; get ipAddressAclInput(): DataYandexCdnResourceOptionsIpAddressAcl; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/cdn_resource yandex_cdn_resource} */ export declare class DataYandexCdnResource extends cdktf.TerraformDataSource { static readonly tfResourceType = "yandex_cdn_resource"; /** * Generates CDKTF code for importing a DataYandexCdnResource 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 DataYandexCdnResource to import * @param importFromId The id of the existing DataYandexCdnResource that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/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 DataYandexCdnResource 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/data-sources/cdn_resource yandex_cdn_resource} Data Source * * @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 DataYandexCdnResourceConfig = {} */ constructor(scope: Construct, id: string, config?: DataYandexCdnResourceConfig); get active(): any; private _cname?; get cname(): string; set cname(value: string); resetCname(): void; get cnameInput(): string; get createdAt(): any; get folderId(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _labels; get labels(): any; get originGroupId(): any; get originGroupName(): any; get originProtocol(): any; get providerCname(): any; get providerType(): any; private _resourceId?; get resourceId(): string; set resourceId(value: string); resetResourceId(): void; get resourceIdInput(): string; get secondaryHostnames(): any; get shielding(): any; private _sslCertificate; get sslCertificate(): DataYandexCdnResourceSslCertificateList; get updatedAt(): any; private _options; get options(): DataYandexCdnResourceOptionsOutputReference; putOptions(value: DataYandexCdnResourceOptions): void; resetOptions(): void; get optionsInput(): DataYandexCdnResourceOptions; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }