yandex logo
Yandex v0.13.0, Feb 22 22

yandex.getCdnResource

Get information about a Yandex CDN Resource. For more information, see the official documentation.

NOTE: CDN provider must be activated prior usage of CDN resources, either via UI console or via yc cli command: yc cdn provider activate --folder-id <folder-id> --type gcore

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var myResource = Output.Create(Yandex.GetCdnResource.InvokeAsync(new Yandex.GetCdnResourceArgs
        {
            ResourceId = "some resource id",
        }));
        this.ResourceCname = myResource.Apply(myResource => myResource.Cname);
    }

    [Output("resourceCname")]
    public Output<string> ResourceCname { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "some resource id"
		myResource, err := yandex.LookupCdnResource(ctx, &GetCdnResourceArgs{
			ResourceId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("resourceCname", myResource.Cname)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_yandex as yandex

my_resource = yandex.get_cdn_resource(resource_id="some resource id")
pulumi.export("resourceCname", my_resource.cname)
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const myResource = pulumi.output(yandex.getCdnResource({
    resourceId: "some resource id",
}));

export const resourceCname = myResource.cname!;

Coming soon!

Using getCdnResource

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCdnResource(args: GetCdnResourceArgs, opts?: InvokeOptions): Promise<GetCdnResourceResult>
function getCdnResourceOutput(args: GetCdnResourceOutputArgs, opts?: InvokeOptions): Output<GetCdnResourceResult>
def get_cdn_resource(active: Optional[bool] = None,
                     cname: Optional[str] = None,
                     options: Optional[GetCdnResourceOptions] = None,
                     origin_group_id: Optional[int] = None,
                     origin_group_name: Optional[str] = None,
                     origin_protocol: Optional[str] = None,
                     resource_id: Optional[str] = None,
                     secondary_hostnames: Optional[Sequence[str]] = None,
                     ssl_certificate: Optional[GetCdnResourceSslCertificate] = None,
                     updated_at: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCdnResourceResult
def get_cdn_resource_output(active: Optional[pulumi.Input[bool]] = None,
                     cname: Optional[pulumi.Input[str]] = None,
                     options: Optional[pulumi.Input[GetCdnResourceOptionsArgs]] = None,
                     origin_group_id: Optional[pulumi.Input[int]] = None,
                     origin_group_name: Optional[pulumi.Input[str]] = None,
                     origin_protocol: Optional[pulumi.Input[str]] = None,
                     resource_id: Optional[pulumi.Input[str]] = None,
                     secondary_hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     ssl_certificate: Optional[pulumi.Input[GetCdnResourceSslCertificateArgs]] = None,
                     updated_at: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCdnResourceResult]
func LookupCdnResource(ctx *Context, args *LookupCdnResourceArgs, opts ...InvokeOption) (*LookupCdnResourceResult, error)
func LookupCdnResourceOutput(ctx *Context, args *LookupCdnResourceOutputArgs, opts ...InvokeOption) LookupCdnResourceResultOutput

> Note: This function is named LookupCdnResource in the Go SDK.

public static class GetCdnResource 
{
    public static Task<GetCdnResourceResult> InvokeAsync(GetCdnResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetCdnResourceResult> Invoke(GetCdnResourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdnResourceResult> getCdnResource(GetCdnResourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: yandex:index/getCdnResource:getCdnResource
  arguments:
    # arguments dictionary

The following arguments are supported:

Active bool

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

Cname string

CDN endpoint CNAME, must be unique among resources.

Options GetCdnResourceOptions

CDN Resource settings and options to tune CDN edge behavior.

OriginGroupId int
OriginGroupName string
OriginProtocol string
ResourceId string
SecondaryHostnames List<string>

list of secondary hostname strings.

SslCertificate GetCdnResourceSslCertificate
UpdatedAt string
Active bool

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

Cname string

CDN endpoint CNAME, must be unique among resources.

Options GetCdnResourceOptions

CDN Resource settings and options to tune CDN edge behavior.

OriginGroupId int
OriginGroupName string
OriginProtocol string
ResourceId string
SecondaryHostnames []string

list of secondary hostname strings.

SslCertificate GetCdnResourceSslCertificate
UpdatedAt string
active Boolean

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

cname String

CDN endpoint CNAME, must be unique among resources.

options GetCdnResourceOptions

CDN Resource settings and options to tune CDN edge behavior.

originGroupId Integer
originGroupName String
originProtocol String
resourceId String
secondaryHostnames List<String>

list of secondary hostname strings.

sslCertificate GetCdnResourceSslCertificate
updatedAt String
active boolean

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

cname string

CDN endpoint CNAME, must be unique among resources.

options GetCdnResourceOptions

CDN Resource settings and options to tune CDN edge behavior.

originGroupId number
originGroupName string
originProtocol string
resourceId string
secondaryHostnames string[]

list of secondary hostname strings.

sslCertificate GetCdnResourceSslCertificate
updatedAt string
active bool

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

cname str

CDN endpoint CNAME, must be unique among resources.

options GetCdnResourceOptions

CDN Resource settings and options to tune CDN edge behavior.

origin_group_id int
origin_group_name str
origin_protocol str
resource_id str
secondary_hostnames Sequence[str]

list of secondary hostname strings.

ssl_certificate GetCdnResourceSslCertificate
updated_at str
active Boolean

Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.

cname String

CDN endpoint CNAME, must be unique among resources.

options Property Map

CDN Resource settings and options to tune CDN edge behavior.

originGroupId Number
originGroupName String
originProtocol String
resourceId String
secondaryHostnames List<String>

list of secondary hostname strings.

sslCertificate Property Map
updatedAt String

getCdnResource Result

The following output properties are available:

Cname string
CreatedAt string
FolderId string
Id string

The provider-assigned unique ID for this managed resource.

Options GetCdnResourceOptions
ResourceId string
UpdatedAt string
Active bool
OriginGroupId int
OriginGroupName string
OriginProtocol string
SecondaryHostnames List<string>
SslCertificate GetCdnResourceSslCertificate
Cname string
CreatedAt string
FolderId string
Id string

The provider-assigned unique ID for this managed resource.

Options GetCdnResourceOptions
ResourceId string
UpdatedAt string
Active bool
OriginGroupId int
OriginGroupName string
OriginProtocol string
SecondaryHostnames []string
SslCertificate GetCdnResourceSslCertificate
cname String
createdAt String
folderId String
id String

The provider-assigned unique ID for this managed resource.

options GetCdnResourceOptions
resourceId String
updatedAt String
active Boolean
originGroupId Integer
originGroupName String
originProtocol String
secondaryHostnames List<String>
sslCertificate GetCdnResourceSslCertificate
cname string
createdAt string
folderId string
id string

The provider-assigned unique ID for this managed resource.

options GetCdnResourceOptions
resourceId string
updatedAt string
active boolean
originGroupId number
originGroupName string
originProtocol string
secondaryHostnames string[]
sslCertificate GetCdnResourceSslCertificate
cname String
createdAt String
folderId String
id String

The provider-assigned unique ID for this managed resource.

options Property Map
resourceId String
updatedAt String
active Boolean
originGroupId Number
originGroupName String
originProtocol String
secondaryHostnames List<String>
sslCertificate Property Map

Supporting Types

GetCdnResourceOptions

AllowedHttpMethods List<string>

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.

BrowserCacheSettings int

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.

CacheHttpHeaders List<string>

list HTTP headers that must be included in responses to clients.

Cors List<string>

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

CustomHostHeader string

custom value for the Host header. Your server must be able to process requests with the chosen header.

CustomServerName string

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

DisableCache bool

setup a cache status.

DisableProxyForceRanges bool

disabling proxy force ranges.

EdgeCacheSettings int

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.

FetchedCompressed bool

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.

ForwardHostHeader bool

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.

GzipOn bool

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

IgnoreCookie bool

set for ignoring cookie.

IgnoreQueryParams bool

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

ProxyCacheMethodsSet bool

allows caching for GET, HEAD and POST requests.

QueryParamsBlacklists List<string>

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.

QueryParamsWhitelists List<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.

RedirectHttpToHttps bool

set up a redirect from HTTPS to HTTP.

RedirectHttpsToHttp bool

set up a redirect from HTTP to HTTPS.

Slice bool

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.

StaticRequestHeaders List<string>

set up custom headers that CDN servers send in requests to origins.

StaticResponseHeaders Dictionary<string, string>
AllowedHttpMethods []string

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.

BrowserCacheSettings int

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.

CacheHttpHeaders []string

list HTTP headers that must be included in responses to clients.

Cors []string

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

CustomHostHeader string

custom value for the Host header. Your server must be able to process requests with the chosen header.

CustomServerName string

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

DisableCache bool

setup a cache status.

DisableProxyForceRanges bool

disabling proxy force ranges.

EdgeCacheSettings int

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.

FetchedCompressed bool

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.

ForwardHostHeader bool

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.

GzipOn bool

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

IgnoreCookie bool

set for ignoring cookie.

IgnoreQueryParams bool

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

ProxyCacheMethodsSet bool

allows caching for GET, HEAD and POST requests.

QueryParamsBlacklists []string

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.

QueryParamsWhitelists []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.

RedirectHttpToHttps bool

set up a redirect from HTTPS to HTTP.

RedirectHttpsToHttp bool

set up a redirect from HTTP to HTTPS.

Slice bool

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.

StaticRequestHeaders []string

set up custom headers that CDN servers send in requests to origins.

StaticResponseHeaders map[string]string
allowedHttpMethods List<String>

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.

browserCacheSettings Integer

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.

cacheHttpHeaders List<String>

list HTTP headers that must be included in responses to clients.

cors List<String>

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

customHostHeader String

custom value for the Host header. Your server must be able to process requests with the chosen header.

customServerName String

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

disableCache Boolean

setup a cache status.

disableProxyForceRanges Boolean

disabling proxy force ranges.

edgeCacheSettings Integer

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.

fetchedCompressed Boolean

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.

forwardHostHeader Boolean

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.

gzipOn Boolean

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

ignoreCookie Boolean

set for ignoring cookie.

ignoreQueryParams Boolean

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

proxyCacheMethodsSet Boolean

allows caching for GET, HEAD and POST requests.

queryParamsBlacklists List<String>

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.

queryParamsWhitelists List<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.

redirectHttpToHttps Boolean

set up a redirect from HTTPS to HTTP.

redirectHttpsToHttp Boolean

set up a redirect from HTTP to HTTPS.

slice Boolean

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.

staticRequestHeaders List<String>

set up custom headers that CDN servers send in requests to origins.

staticResponseHeaders Map<String,String>
allowedHttpMethods string[]

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.

browserCacheSettings number

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.

cacheHttpHeaders string[]

list HTTP headers that must be included in responses to clients.

cors string[]

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

customHostHeader string

custom value for the Host header. Your server must be able to process requests with the chosen header.

customServerName string

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

disableCache boolean

setup a cache status.

disableProxyForceRanges boolean

disabling proxy force ranges.

edgeCacheSettings number

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.

fetchedCompressed boolean

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.

forwardHostHeader boolean

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.

gzipOn boolean

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

ignoreCookie boolean

set for ignoring cookie.

ignoreQueryParams boolean

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

proxyCacheMethodsSet boolean

allows caching for GET, HEAD and POST requests.

queryParamsBlacklists string[]

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.

queryParamsWhitelists 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.

redirectHttpToHttps boolean

set up a redirect from HTTPS to HTTP.

redirectHttpsToHttp boolean

set up a redirect from HTTP to HTTPS.

slice boolean

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.

staticRequestHeaders string[]

set up custom headers that CDN servers send in requests to origins.

staticResponseHeaders {[key: string]: string}
allowed_http_methods Sequence[str]

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.

browser_cache_settings int

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.

cache_http_headers Sequence[str]

list HTTP headers that must be included in responses to clients.

cors Sequence[str]

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

custom_host_header str

custom value for the Host header. Your server must be able to process requests with the chosen header.

custom_server_name str

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

disable_cache bool

setup a cache status.

disable_proxy_force_ranges bool

disabling proxy force ranges.

edge_cache_settings int

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.

fetched_compressed bool

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.

forward_host_header bool

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.

gzip_on bool

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

ignore_cookie bool

set for ignoring cookie.

ignore_query_params bool

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

proxy_cache_methods_set bool

allows caching for GET, HEAD and POST requests.

query_params_blacklists Sequence[str]

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.

query_params_whitelists Sequence[str]

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.

redirect_http_to_https bool

set up a redirect from HTTPS to HTTP.

redirect_https_to_http bool

set up a redirect from HTTP to HTTPS.

slice bool

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.

static_request_headers Sequence[str]

set up custom headers that CDN servers send in requests to origins.

static_response_headers Mapping[str, str]
allowedHttpMethods List<String>

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.

browserCacheSettings Number

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.

cacheHttpHeaders List<String>

list HTTP headers that must be included in responses to clients.

cors List<String>

parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.

customHostHeader String

custom value for the Host header. Your server must be able to process requests with the chosen header.

customServerName String

wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.

disableCache Boolean

setup a cache status.

disableProxyForceRanges Boolean

disabling proxy force ranges.

edgeCacheSettings Number

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.

fetchedCompressed Boolean

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.

forwardHostHeader Boolean

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.

gzipOn Boolean

GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.

ignoreCookie Boolean

set for ignoring cookie.

ignoreQueryParams Boolean

files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.

proxyCacheMethodsSet Boolean

allows caching for GET, HEAD and POST requests.

queryParamsBlacklists List<String>

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.

queryParamsWhitelists List<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.

redirectHttpToHttps Boolean

set up a redirect from HTTPS to HTTP.

redirectHttpsToHttp Boolean

set up a redirect from HTTP to HTTPS.

slice Boolean

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.

staticRequestHeaders List<String>

set up custom headers that CDN servers send in requests to origins.

staticResponseHeaders Map<String>

GetCdnResourceSslCertificate

Status string
Type string
CertificateManagerId string
Status string
Type string
CertificateManagerId string
status String
type String
certificateManagerId String
status string
type string
certificateManagerId string
status String
type String
certificateManagerId String

Package Details

Repository
Yandex pulumi/pulumi-yandex
License
Apache-2.0
Notes

This Pulumi package is based on the yandex Terraform Provider.