edgecenter.CdnResource
Explore with Pulumi AI
Represent CDN resource
Create CdnResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnResource(name: string, args: CdnResourceArgs, opts?: CustomResourceOptions);@overload
def CdnResource(resource_name: str,
                args: CdnResourceArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def CdnResource(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                cname: Optional[str] = None,
                origin: Optional[str] = None,
                cdn_resource_id: Optional[str] = None,
                description: Optional[str] = None,
                issue_le_cert: Optional[bool] = None,
                options: Optional[CdnResourceOptionsArgs] = None,
                active: Optional[bool] = None,
                origin_group: Optional[float] = None,
                origin_protocol: Optional[str] = None,
                secondary_hostnames: Optional[Sequence[str]] = None,
                ssl_automated: Optional[bool] = None,
                ssl_data: Optional[float] = None,
                ssl_enabled: Optional[bool] = None)func NewCdnResource(ctx *Context, name string, args CdnResourceArgs, opts ...ResourceOption) (*CdnResource, error)public CdnResource(string name, CdnResourceArgs args, CustomResourceOptions? opts = null)
public CdnResource(String name, CdnResourceArgs args)
public CdnResource(String name, CdnResourceArgs args, CustomResourceOptions options)
type: edgecenter:CdnResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CdnResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CdnResourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CdnResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnResourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cdnResourceResource = new Edgecenter.CdnResource("cdnResourceResource", new()
{
    Cname = "string",
    Origin = "string",
    CdnResourceId = "string",
    Description = "string",
    IssueLeCert = false,
    Options = new Edgecenter.Inputs.CdnResourceOptionsArgs
    {
        AllowedHttpMethods = new Edgecenter.Inputs.CdnResourceOptionsAllowedHttpMethodsArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        BrotliCompression = new Edgecenter.Inputs.CdnResourceOptionsBrotliCompressionArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        BrowserCacheSettings = new Edgecenter.Inputs.CdnResourceOptionsBrowserCacheSettingsArgs
        {
            Enabled = false,
            Value = "string",
        },
        Cors = new Edgecenter.Inputs.CdnResourceOptionsCorsArgs
        {
            Values = new[]
            {
                "string",
            },
            Always = false,
            Enabled = false,
        },
        DisableProxyForceRanges = new Edgecenter.Inputs.CdnResourceOptionsDisableProxyForceRangesArgs
        {
            Value = false,
            Enabled = false,
        },
        EdgeCacheSettings = new Edgecenter.Inputs.CdnResourceOptionsEdgeCacheSettingsArgs
        {
            CustomValues = 
            {
                { "string", "string" },
            },
            Default = "string",
            Enabled = false,
            Value = "string",
        },
        FetchCompressed = new Edgecenter.Inputs.CdnResourceOptionsFetchCompressedArgs
        {
            Value = false,
            Enabled = false,
        },
        FollowOriginRedirect = new Edgecenter.Inputs.CdnResourceOptionsFollowOriginRedirectArgs
        {
            Codes = new[]
            {
                0,
            },
            Enabled = false,
            UseHost = false,
        },
        ForceReturn = new Edgecenter.Inputs.CdnResourceOptionsForceReturnArgs
        {
            Code = 0,
            Body = "string",
            Enabled = false,
        },
        ForwardHostHeader = new Edgecenter.Inputs.CdnResourceOptionsForwardHostHeaderArgs
        {
            Value = false,
            Enabled = false,
        },
        GeoAcl = new Edgecenter.Inputs.CdnResourceOptionsGeoAclArgs
        {
            ExceptedValues = new[]
            {
                new Edgecenter.Inputs.CdnResourceOptionsGeoAclExceptedValueArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            Enabled = false,
            PolicyType = "string",
        },
        GzipCompression = new Edgecenter.Inputs.CdnResourceOptionsGzipCompressionArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        HostHeader = new Edgecenter.Inputs.CdnResourceOptionsHostHeaderArgs
        {
            Value = "string",
            Enabled = false,
        },
        Http3Enabled = new Edgecenter.Inputs.CdnResourceOptionsHttp3EnabledArgs
        {
            Value = false,
            Enabled = false,
        },
        IgnoreCookie = new Edgecenter.Inputs.CdnResourceOptionsIgnoreCookieArgs
        {
            Value = false,
            Enabled = false,
        },
        IgnoreQueryString = new Edgecenter.Inputs.CdnResourceOptionsIgnoreQueryStringArgs
        {
            Value = false,
            Enabled = false,
        },
        ImageStack = new Edgecenter.Inputs.CdnResourceOptionsImageStackArgs
        {
            Quality = 0,
            AvifEnabled = false,
            Enabled = false,
            PngLossless = false,
            WebpEnabled = false,
        },
        IpAddressAcl = new Edgecenter.Inputs.CdnResourceOptionsIpAddressAclArgs
        {
            ExceptedValues = new[]
            {
                "string",
            },
            PolicyType = "string",
            Enabled = false,
        },
        LimitBandwidth = new Edgecenter.Inputs.CdnResourceOptionsLimitBandwidthArgs
        {
            LimitType = "string",
            Buffer = 0,
            Enabled = false,
            Speed = 0,
        },
        ProxyCacheMethodsSet = new Edgecenter.Inputs.CdnResourceOptionsProxyCacheMethodsSetArgs
        {
            Value = false,
            Enabled = false,
        },
        QueryParamsBlacklist = new Edgecenter.Inputs.CdnResourceOptionsQueryParamsBlacklistArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        QueryParamsWhitelist = new Edgecenter.Inputs.CdnResourceOptionsQueryParamsWhitelistArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        RedirectHttpToHttps = new Edgecenter.Inputs.CdnResourceOptionsRedirectHttpToHttpsArgs
        {
            Value = false,
            Enabled = false,
        },
        RedirectHttpsToHttp = new Edgecenter.Inputs.CdnResourceOptionsRedirectHttpsToHttpArgs
        {
            Value = false,
            Enabled = false,
        },
        ReferrerAcl = new Edgecenter.Inputs.CdnResourceOptionsReferrerAclArgs
        {
            ExceptedValues = new[]
            {
                "string",
            },
            PolicyType = "string",
            Enabled = false,
        },
        ResponseHeadersHidingPolicy = new Edgecenter.Inputs.CdnResourceOptionsResponseHeadersHidingPolicyArgs
        {
            Excepteds = new[]
            {
                "string",
            },
            Mode = "string",
            Enabled = false,
        },
        Rewrite = new Edgecenter.Inputs.CdnResourceOptionsRewriteArgs
        {
            Body = "string",
            Enabled = false,
            Flag = "string",
        },
        SecureKey = new Edgecenter.Inputs.CdnResourceOptionsSecureKeyArgs
        {
            Key = "string",
            Type = 0,
            Enabled = false,
        },
        Slice = new Edgecenter.Inputs.CdnResourceOptionsSliceArgs
        {
            Value = false,
            Enabled = false,
        },
        Sni = new Edgecenter.Inputs.CdnResourceOptionsSniArgs
        {
            CustomHostname = "string",
            Enabled = false,
            SniType = "string",
        },
        Stale = new Edgecenter.Inputs.CdnResourceOptionsStaleArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        StaticRequestHeaders = new Edgecenter.Inputs.CdnResourceOptionsStaticRequestHeadersArgs
        {
            Value = 
            {
                { "string", "string" },
            },
            Enabled = false,
        },
        StaticResponseHeaders = new Edgecenter.Inputs.CdnResourceOptionsStaticResponseHeadersArgs
        {
            Values = new[]
            {
                new Edgecenter.Inputs.CdnResourceOptionsStaticResponseHeadersValueArgs
                {
                    Name = "string",
                    Values = new[]
                    {
                        "string",
                    },
                    Always = false,
                },
            },
            Enabled = false,
        },
        TlsVersions = new Edgecenter.Inputs.CdnResourceOptionsTlsVersionsArgs
        {
            Values = new[]
            {
                "string",
            },
            Enabled = false,
        },
        UseDefaultLeChain = new Edgecenter.Inputs.CdnResourceOptionsUseDefaultLeChainArgs
        {
            Value = false,
            Enabled = false,
        },
        UserAgentAcl = new Edgecenter.Inputs.CdnResourceOptionsUserAgentAclArgs
        {
            ExceptedValues = new[]
            {
                "string",
            },
            PolicyType = "string",
            Enabled = false,
        },
        Websockets = new Edgecenter.Inputs.CdnResourceOptionsWebsocketsArgs
        {
            Value = false,
            Enabled = false,
        },
    },
    Active = false,
    OriginGroup = 0,
    OriginProtocol = "string",
    SecondaryHostnames = new[]
    {
        "string",
    },
    SslAutomated = false,
    SslData = 0,
    SslEnabled = false,
});
example, err := edgecenter.NewCdnResource(ctx, "cdnResourceResource", &edgecenter.CdnResourceArgs{
	Cname:         pulumi.String("string"),
	Origin:        pulumi.String("string"),
	CdnResourceId: pulumi.String("string"),
	Description:   pulumi.String("string"),
	IssueLeCert:   pulumi.Bool(false),
	Options: &edgecenter.CdnResourceOptionsArgs{
		AllowedHttpMethods: &edgecenter.CdnResourceOptionsAllowedHttpMethodsArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		BrotliCompression: &edgecenter.CdnResourceOptionsBrotliCompressionArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		BrowserCacheSettings: &edgecenter.CdnResourceOptionsBrowserCacheSettingsArgs{
			Enabled: pulumi.Bool(false),
			Value:   pulumi.String("string"),
		},
		Cors: &edgecenter.CdnResourceOptionsCorsArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Always:  pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		DisableProxyForceRanges: &edgecenter.CdnResourceOptionsDisableProxyForceRangesArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		EdgeCacheSettings: &edgecenter.CdnResourceOptionsEdgeCacheSettingsArgs{
			CustomValues: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Default: pulumi.String("string"),
			Enabled: pulumi.Bool(false),
			Value:   pulumi.String("string"),
		},
		FetchCompressed: &edgecenter.CdnResourceOptionsFetchCompressedArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		FollowOriginRedirect: &edgecenter.CdnResourceOptionsFollowOriginRedirectArgs{
			Codes: pulumi.Float64Array{
				pulumi.Float64(0),
			},
			Enabled: pulumi.Bool(false),
			UseHost: pulumi.Bool(false),
		},
		ForceReturn: &edgecenter.CdnResourceOptionsForceReturnArgs{
			Code:    pulumi.Float64(0),
			Body:    pulumi.String("string"),
			Enabled: pulumi.Bool(false),
		},
		ForwardHostHeader: &edgecenter.CdnResourceOptionsForwardHostHeaderArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		GeoAcl: &edgecenter.CdnResourceOptionsGeoAclArgs{
			ExceptedValues: edgecenter.CdnResourceOptionsGeoAclExceptedValueArray{
				&edgecenter.CdnResourceOptionsGeoAclExceptedValueArgs{
					Key: pulumi.String("string"),
					Values: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			Enabled:    pulumi.Bool(false),
			PolicyType: pulumi.String("string"),
		},
		GzipCompression: &edgecenter.CdnResourceOptionsGzipCompressionArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		HostHeader: &edgecenter.CdnResourceOptionsHostHeaderArgs{
			Value:   pulumi.String("string"),
			Enabled: pulumi.Bool(false),
		},
		Http3Enabled: &edgecenter.CdnResourceOptionsHttp3EnabledArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		IgnoreCookie: &edgecenter.CdnResourceOptionsIgnoreCookieArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		IgnoreQueryString: &edgecenter.CdnResourceOptionsIgnoreQueryStringArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		ImageStack: &edgecenter.CdnResourceOptionsImageStackArgs{
			Quality:     pulumi.Float64(0),
			AvifEnabled: pulumi.Bool(false),
			Enabled:     pulumi.Bool(false),
			PngLossless: pulumi.Bool(false),
			WebpEnabled: pulumi.Bool(false),
		},
		IpAddressAcl: &edgecenter.CdnResourceOptionsIpAddressAclArgs{
			ExceptedValues: pulumi.StringArray{
				pulumi.String("string"),
			},
			PolicyType: pulumi.String("string"),
			Enabled:    pulumi.Bool(false),
		},
		LimitBandwidth: &edgecenter.CdnResourceOptionsLimitBandwidthArgs{
			LimitType: pulumi.String("string"),
			Buffer:    pulumi.Float64(0),
			Enabled:   pulumi.Bool(false),
			Speed:     pulumi.Float64(0),
		},
		ProxyCacheMethodsSet: &edgecenter.CdnResourceOptionsProxyCacheMethodsSetArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		QueryParamsBlacklist: &edgecenter.CdnResourceOptionsQueryParamsBlacklistArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		QueryParamsWhitelist: &edgecenter.CdnResourceOptionsQueryParamsWhitelistArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		RedirectHttpToHttps: &edgecenter.CdnResourceOptionsRedirectHttpToHttpsArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		RedirectHttpsToHttp: &edgecenter.CdnResourceOptionsRedirectHttpsToHttpArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		ReferrerAcl: &edgecenter.CdnResourceOptionsReferrerAclArgs{
			ExceptedValues: pulumi.StringArray{
				pulumi.String("string"),
			},
			PolicyType: pulumi.String("string"),
			Enabled:    pulumi.Bool(false),
		},
		ResponseHeadersHidingPolicy: &edgecenter.CdnResourceOptionsResponseHeadersHidingPolicyArgs{
			Excepteds: pulumi.StringArray{
				pulumi.String("string"),
			},
			Mode:    pulumi.String("string"),
			Enabled: pulumi.Bool(false),
		},
		Rewrite: &edgecenter.CdnResourceOptionsRewriteArgs{
			Body:    pulumi.String("string"),
			Enabled: pulumi.Bool(false),
			Flag:    pulumi.String("string"),
		},
		SecureKey: &edgecenter.CdnResourceOptionsSecureKeyArgs{
			Key:     pulumi.String("string"),
			Type:    pulumi.Float64(0),
			Enabled: pulumi.Bool(false),
		},
		Slice: &edgecenter.CdnResourceOptionsSliceArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		Sni: &edgecenter.CdnResourceOptionsSniArgs{
			CustomHostname: pulumi.String("string"),
			Enabled:        pulumi.Bool(false),
			SniType:        pulumi.String("string"),
		},
		Stale: &edgecenter.CdnResourceOptionsStaleArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		StaticRequestHeaders: &edgecenter.CdnResourceOptionsStaticRequestHeadersArgs{
			Value: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		StaticResponseHeaders: &edgecenter.CdnResourceOptionsStaticResponseHeadersArgs{
			Values: edgecenter.CdnResourceOptionsStaticResponseHeadersValueArray{
				&edgecenter.CdnResourceOptionsStaticResponseHeadersValueArgs{
					Name: pulumi.String("string"),
					Values: pulumi.StringArray{
						pulumi.String("string"),
					},
					Always: pulumi.Bool(false),
				},
			},
			Enabled: pulumi.Bool(false),
		},
		TlsVersions: &edgecenter.CdnResourceOptionsTlsVersionsArgs{
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Enabled: pulumi.Bool(false),
		},
		UseDefaultLeChain: &edgecenter.CdnResourceOptionsUseDefaultLeChainArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
		UserAgentAcl: &edgecenter.CdnResourceOptionsUserAgentAclArgs{
			ExceptedValues: pulumi.StringArray{
				pulumi.String("string"),
			},
			PolicyType: pulumi.String("string"),
			Enabled:    pulumi.Bool(false),
		},
		Websockets: &edgecenter.CdnResourceOptionsWebsocketsArgs{
			Value:   pulumi.Bool(false),
			Enabled: pulumi.Bool(false),
		},
	},
	Active:         pulumi.Bool(false),
	OriginGroup:    pulumi.Float64(0),
	OriginProtocol: pulumi.String("string"),
	SecondaryHostnames: pulumi.StringArray{
		pulumi.String("string"),
	},
	SslAutomated: pulumi.Bool(false),
	SslData:      pulumi.Float64(0),
	SslEnabled:   pulumi.Bool(false),
})
var cdnResourceResource = new CdnResource("cdnResourceResource", CdnResourceArgs.builder()
    .cname("string")
    .origin("string")
    .cdnResourceId("string")
    .description("string")
    .issueLeCert(false)
    .options(CdnResourceOptionsArgs.builder()
        .allowedHttpMethods(CdnResourceOptionsAllowedHttpMethodsArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .brotliCompression(CdnResourceOptionsBrotliCompressionArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .browserCacheSettings(CdnResourceOptionsBrowserCacheSettingsArgs.builder()
            .enabled(false)
            .value("string")
            .build())
        .cors(CdnResourceOptionsCorsArgs.builder()
            .values("string")
            .always(false)
            .enabled(false)
            .build())
        .disableProxyForceRanges(CdnResourceOptionsDisableProxyForceRangesArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .edgeCacheSettings(CdnResourceOptionsEdgeCacheSettingsArgs.builder()
            .customValues(Map.of("string", "string"))
            .default_("string")
            .enabled(false)
            .value("string")
            .build())
        .fetchCompressed(CdnResourceOptionsFetchCompressedArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .followOriginRedirect(CdnResourceOptionsFollowOriginRedirectArgs.builder()
            .codes(0.0)
            .enabled(false)
            .useHost(false)
            .build())
        .forceReturn(CdnResourceOptionsForceReturnArgs.builder()
            .code(0.0)
            .body("string")
            .enabled(false)
            .build())
        .forwardHostHeader(CdnResourceOptionsForwardHostHeaderArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .geoAcl(CdnResourceOptionsGeoAclArgs.builder()
            .exceptedValues(CdnResourceOptionsGeoAclExceptedValueArgs.builder()
                .key("string")
                .values("string")
                .build())
            .enabled(false)
            .policyType("string")
            .build())
        .gzipCompression(CdnResourceOptionsGzipCompressionArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .hostHeader(CdnResourceOptionsHostHeaderArgs.builder()
            .value("string")
            .enabled(false)
            .build())
        .http3Enabled(CdnResourceOptionsHttp3EnabledArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .ignoreCookie(CdnResourceOptionsIgnoreCookieArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .ignoreQueryString(CdnResourceOptionsIgnoreQueryStringArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .imageStack(CdnResourceOptionsImageStackArgs.builder()
            .quality(0.0)
            .avifEnabled(false)
            .enabled(false)
            .pngLossless(false)
            .webpEnabled(false)
            .build())
        .ipAddressAcl(CdnResourceOptionsIpAddressAclArgs.builder()
            .exceptedValues("string")
            .policyType("string")
            .enabled(false)
            .build())
        .limitBandwidth(CdnResourceOptionsLimitBandwidthArgs.builder()
            .limitType("string")
            .buffer(0.0)
            .enabled(false)
            .speed(0.0)
            .build())
        .proxyCacheMethodsSet(CdnResourceOptionsProxyCacheMethodsSetArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .queryParamsBlacklist(CdnResourceOptionsQueryParamsBlacklistArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .queryParamsWhitelist(CdnResourceOptionsQueryParamsWhitelistArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .redirectHttpToHttps(CdnResourceOptionsRedirectHttpToHttpsArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .redirectHttpsToHttp(CdnResourceOptionsRedirectHttpsToHttpArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .referrerAcl(CdnResourceOptionsReferrerAclArgs.builder()
            .exceptedValues("string")
            .policyType("string")
            .enabled(false)
            .build())
        .responseHeadersHidingPolicy(CdnResourceOptionsResponseHeadersHidingPolicyArgs.builder()
            .excepteds("string")
            .mode("string")
            .enabled(false)
            .build())
        .rewrite(CdnResourceOptionsRewriteArgs.builder()
            .body("string")
            .enabled(false)
            .flag("string")
            .build())
        .secureKey(CdnResourceOptionsSecureKeyArgs.builder()
            .key("string")
            .type(0.0)
            .enabled(false)
            .build())
        .slice(CdnResourceOptionsSliceArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .sni(CdnResourceOptionsSniArgs.builder()
            .customHostname("string")
            .enabled(false)
            .sniType("string")
            .build())
        .stale(CdnResourceOptionsStaleArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .staticRequestHeaders(CdnResourceOptionsStaticRequestHeadersArgs.builder()
            .value(Map.of("string", "string"))
            .enabled(false)
            .build())
        .staticResponseHeaders(CdnResourceOptionsStaticResponseHeadersArgs.builder()
            .values(CdnResourceOptionsStaticResponseHeadersValueArgs.builder()
                .name("string")
                .values("string")
                .always(false)
                .build())
            .enabled(false)
            .build())
        .tlsVersions(CdnResourceOptionsTlsVersionsArgs.builder()
            .values("string")
            .enabled(false)
            .build())
        .useDefaultLeChain(CdnResourceOptionsUseDefaultLeChainArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .userAgentAcl(CdnResourceOptionsUserAgentAclArgs.builder()
            .exceptedValues("string")
            .policyType("string")
            .enabled(false)
            .build())
        .websockets(CdnResourceOptionsWebsocketsArgs.builder()
            .value(false)
            .enabled(false)
            .build())
        .build())
    .active(false)
    .originGroup(0.0)
    .originProtocol("string")
    .secondaryHostnames("string")
    .sslAutomated(false)
    .sslData(0.0)
    .sslEnabled(false)
    .build());
cdn_resource_resource = edgecenter.CdnResource("cdnResourceResource",
    cname="string",
    origin="string",
    cdn_resource_id="string",
    description="string",
    issue_le_cert=False,
    options={
        "allowed_http_methods": {
            "values": ["string"],
            "enabled": False,
        },
        "brotli_compression": {
            "values": ["string"],
            "enabled": False,
        },
        "browser_cache_settings": {
            "enabled": False,
            "value": "string",
        },
        "cors": {
            "values": ["string"],
            "always": False,
            "enabled": False,
        },
        "disable_proxy_force_ranges": {
            "value": False,
            "enabled": False,
        },
        "edge_cache_settings": {
            "custom_values": {
                "string": "string",
            },
            "default": "string",
            "enabled": False,
            "value": "string",
        },
        "fetch_compressed": {
            "value": False,
            "enabled": False,
        },
        "follow_origin_redirect": {
            "codes": [0],
            "enabled": False,
            "use_host": False,
        },
        "force_return": {
            "code": 0,
            "body": "string",
            "enabled": False,
        },
        "forward_host_header": {
            "value": False,
            "enabled": False,
        },
        "geo_acl": {
            "excepted_values": [{
                "key": "string",
                "values": ["string"],
            }],
            "enabled": False,
            "policy_type": "string",
        },
        "gzip_compression": {
            "values": ["string"],
            "enabled": False,
        },
        "host_header": {
            "value": "string",
            "enabled": False,
        },
        "http3_enabled": {
            "value": False,
            "enabled": False,
        },
        "ignore_cookie": {
            "value": False,
            "enabled": False,
        },
        "ignore_query_string": {
            "value": False,
            "enabled": False,
        },
        "image_stack": {
            "quality": 0,
            "avif_enabled": False,
            "enabled": False,
            "png_lossless": False,
            "webp_enabled": False,
        },
        "ip_address_acl": {
            "excepted_values": ["string"],
            "policy_type": "string",
            "enabled": False,
        },
        "limit_bandwidth": {
            "limit_type": "string",
            "buffer": 0,
            "enabled": False,
            "speed": 0,
        },
        "proxy_cache_methods_set": {
            "value": False,
            "enabled": False,
        },
        "query_params_blacklist": {
            "values": ["string"],
            "enabled": False,
        },
        "query_params_whitelist": {
            "values": ["string"],
            "enabled": False,
        },
        "redirect_http_to_https": {
            "value": False,
            "enabled": False,
        },
        "redirect_https_to_http": {
            "value": False,
            "enabled": False,
        },
        "referrer_acl": {
            "excepted_values": ["string"],
            "policy_type": "string",
            "enabled": False,
        },
        "response_headers_hiding_policy": {
            "excepteds": ["string"],
            "mode": "string",
            "enabled": False,
        },
        "rewrite": {
            "body": "string",
            "enabled": False,
            "flag": "string",
        },
        "secure_key": {
            "key": "string",
            "type": 0,
            "enabled": False,
        },
        "slice": {
            "value": False,
            "enabled": False,
        },
        "sni": {
            "custom_hostname": "string",
            "enabled": False,
            "sni_type": "string",
        },
        "stale": {
            "values": ["string"],
            "enabled": False,
        },
        "static_request_headers": {
            "value": {
                "string": "string",
            },
            "enabled": False,
        },
        "static_response_headers": {
            "values": [{
                "name": "string",
                "values": ["string"],
                "always": False,
            }],
            "enabled": False,
        },
        "tls_versions": {
            "values": ["string"],
            "enabled": False,
        },
        "use_default_le_chain": {
            "value": False,
            "enabled": False,
        },
        "user_agent_acl": {
            "excepted_values": ["string"],
            "policy_type": "string",
            "enabled": False,
        },
        "websockets": {
            "value": False,
            "enabled": False,
        },
    },
    active=False,
    origin_group=0,
    origin_protocol="string",
    secondary_hostnames=["string"],
    ssl_automated=False,
    ssl_data=0,
    ssl_enabled=False)
const cdnResourceResource = new edgecenter.CdnResource("cdnResourceResource", {
    cname: "string",
    origin: "string",
    cdnResourceId: "string",
    description: "string",
    issueLeCert: false,
    options: {
        allowedHttpMethods: {
            values: ["string"],
            enabled: false,
        },
        brotliCompression: {
            values: ["string"],
            enabled: false,
        },
        browserCacheSettings: {
            enabled: false,
            value: "string",
        },
        cors: {
            values: ["string"],
            always: false,
            enabled: false,
        },
        disableProxyForceRanges: {
            value: false,
            enabled: false,
        },
        edgeCacheSettings: {
            customValues: {
                string: "string",
            },
            "default": "string",
            enabled: false,
            value: "string",
        },
        fetchCompressed: {
            value: false,
            enabled: false,
        },
        followOriginRedirect: {
            codes: [0],
            enabled: false,
            useHost: false,
        },
        forceReturn: {
            code: 0,
            body: "string",
            enabled: false,
        },
        forwardHostHeader: {
            value: false,
            enabled: false,
        },
        geoAcl: {
            exceptedValues: [{
                key: "string",
                values: ["string"],
            }],
            enabled: false,
            policyType: "string",
        },
        gzipCompression: {
            values: ["string"],
            enabled: false,
        },
        hostHeader: {
            value: "string",
            enabled: false,
        },
        http3Enabled: {
            value: false,
            enabled: false,
        },
        ignoreCookie: {
            value: false,
            enabled: false,
        },
        ignoreQueryString: {
            value: false,
            enabled: false,
        },
        imageStack: {
            quality: 0,
            avifEnabled: false,
            enabled: false,
            pngLossless: false,
            webpEnabled: false,
        },
        ipAddressAcl: {
            exceptedValues: ["string"],
            policyType: "string",
            enabled: false,
        },
        limitBandwidth: {
            limitType: "string",
            buffer: 0,
            enabled: false,
            speed: 0,
        },
        proxyCacheMethodsSet: {
            value: false,
            enabled: false,
        },
        queryParamsBlacklist: {
            values: ["string"],
            enabled: false,
        },
        queryParamsWhitelist: {
            values: ["string"],
            enabled: false,
        },
        redirectHttpToHttps: {
            value: false,
            enabled: false,
        },
        redirectHttpsToHttp: {
            value: false,
            enabled: false,
        },
        referrerAcl: {
            exceptedValues: ["string"],
            policyType: "string",
            enabled: false,
        },
        responseHeadersHidingPolicy: {
            excepteds: ["string"],
            mode: "string",
            enabled: false,
        },
        rewrite: {
            body: "string",
            enabled: false,
            flag: "string",
        },
        secureKey: {
            key: "string",
            type: 0,
            enabled: false,
        },
        slice: {
            value: false,
            enabled: false,
        },
        sni: {
            customHostname: "string",
            enabled: false,
            sniType: "string",
        },
        stale: {
            values: ["string"],
            enabled: false,
        },
        staticRequestHeaders: {
            value: {
                string: "string",
            },
            enabled: false,
        },
        staticResponseHeaders: {
            values: [{
                name: "string",
                values: ["string"],
                always: false,
            }],
            enabled: false,
        },
        tlsVersions: {
            values: ["string"],
            enabled: false,
        },
        useDefaultLeChain: {
            value: false,
            enabled: false,
        },
        userAgentAcl: {
            exceptedValues: ["string"],
            policyType: "string",
            enabled: false,
        },
        websockets: {
            value: false,
            enabled: false,
        },
    },
    active: false,
    originGroup: 0,
    originProtocol: "string",
    secondaryHostnames: ["string"],
    sslAutomated: false,
    sslData: 0,
    sslEnabled: false,
});
type: edgecenter:CdnResource
properties:
    active: false
    cdnResourceId: string
    cname: string
    description: string
    issueLeCert: false
    options:
        allowedHttpMethods:
            enabled: false
            values:
                - string
        brotliCompression:
            enabled: false
            values:
                - string
        browserCacheSettings:
            enabled: false
            value: string
        cors:
            always: false
            enabled: false
            values:
                - string
        disableProxyForceRanges:
            enabled: false
            value: false
        edgeCacheSettings:
            customValues:
                string: string
            default: string
            enabled: false
            value: string
        fetchCompressed:
            enabled: false
            value: false
        followOriginRedirect:
            codes:
                - 0
            enabled: false
            useHost: false
        forceReturn:
            body: string
            code: 0
            enabled: false
        forwardHostHeader:
            enabled: false
            value: false
        geoAcl:
            enabled: false
            exceptedValues:
                - key: string
                  values:
                    - string
            policyType: string
        gzipCompression:
            enabled: false
            values:
                - string
        hostHeader:
            enabled: false
            value: string
        http3Enabled:
            enabled: false
            value: false
        ignoreCookie:
            enabled: false
            value: false
        ignoreQueryString:
            enabled: false
            value: false
        imageStack:
            avifEnabled: false
            enabled: false
            pngLossless: false
            quality: 0
            webpEnabled: false
        ipAddressAcl:
            enabled: false
            exceptedValues:
                - string
            policyType: string
        limitBandwidth:
            buffer: 0
            enabled: false
            limitType: string
            speed: 0
        proxyCacheMethodsSet:
            enabled: false
            value: false
        queryParamsBlacklist:
            enabled: false
            values:
                - string
        queryParamsWhitelist:
            enabled: false
            values:
                - string
        redirectHttpToHttps:
            enabled: false
            value: false
        redirectHttpsToHttp:
            enabled: false
            value: false
        referrerAcl:
            enabled: false
            exceptedValues:
                - string
            policyType: string
        responseHeadersHidingPolicy:
            enabled: false
            excepteds:
                - string
            mode: string
        rewrite:
            body: string
            enabled: false
            flag: string
        secureKey:
            enabled: false
            key: string
            type: 0
        slice:
            enabled: false
            value: false
        sni:
            customHostname: string
            enabled: false
            sniType: string
        stale:
            enabled: false
            values:
                - string
        staticRequestHeaders:
            enabled: false
            value:
                string: string
        staticResponseHeaders:
            enabled: false
            values:
                - always: false
                  name: string
                  values:
                    - string
        tlsVersions:
            enabled: false
            values:
                - string
        useDefaultLeChain:
            enabled: false
            value: false
        userAgentAcl:
            enabled: false
            exceptedValues:
                - string
            policyType: string
        websockets:
            enabled: false
            value: false
    origin: string
    originGroup: 0
    originProtocol: string
    secondaryHostnames:
        - string
    sslAutomated: false
    sslData: 0
    sslEnabled: false
CdnResource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CdnResource resource accepts the following input properties:
- Cname string
- Specify a custom domain that will be used to deliver content via CDN.
- Active bool
- Enable or disable the CDN resource.
- CdnResource stringId 
- The ID of this resource.
- Description string
- Leave an optional comment that describes this CDN resource.
- IssueLe boolCert 
- Generate LE certificate.
- Options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- OriginGroup double
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- OriginProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- SecondaryHostnames List<string>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- SslAutomated bool
- generate LE certificate automatically.
- SslData double
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- SslEnabled bool
- Enable or disable the HTTPS protocol for content delivery.
- Cname string
- Specify a custom domain that will be used to deliver content via CDN.
- Active bool
- Enable or disable the CDN resource.
- CdnResource stringId 
- The ID of this resource.
- Description string
- Leave an optional comment that describes this CDN resource.
- IssueLe boolCert 
- Generate LE certificate.
- Options
CdnResource Options Args 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- OriginGroup float64
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- OriginProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- SecondaryHostnames []string
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- SslAutomated bool
- generate LE certificate automatically.
- SslData float64
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- SslEnabled bool
- Enable or disable the HTTPS protocol for content delivery.
- cname String
- Specify a custom domain that will be used to deliver content via CDN.
- active Boolean
- Enable or disable the CDN resource.
- cdnResource StringId 
- The ID of this resource.
- description String
- Leave an optional comment that describes this CDN resource.
- issueLe BooleanCert 
- Generate LE certificate.
- options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin String
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup Double
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol String
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames List<String>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated Boolean
- generate LE certificate automatically.
- sslData Double
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled Boolean
- Enable or disable the HTTPS protocol for content delivery.
- cname string
- Specify a custom domain that will be used to deliver content via CDN.
- active boolean
- Enable or disable the CDN resource.
- cdnResource stringId 
- The ID of this resource.
- description string
- Leave an optional comment that describes this CDN resource.
- issueLe booleanCert 
- Generate LE certificate.
- options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup number
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames string[]
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated boolean
- generate LE certificate automatically.
- sslData number
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled boolean
- Enable or disable the HTTPS protocol for content delivery.
- cname str
- Specify a custom domain that will be used to deliver content via CDN.
- active bool
- Enable or disable the CDN resource.
- cdn_resource_ strid 
- The ID of this resource.
- description str
- Leave an optional comment that describes this CDN resource.
- issue_le_ boolcert 
- Generate LE certificate.
- options
CdnResource Options Args 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin str
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- origin_group float
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- origin_protocol str
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondary_hostnames Sequence[str]
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- ssl_automated bool
- generate LE certificate automatically.
- ssl_data float
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- ssl_enabled bool
- Enable or disable the HTTPS protocol for content delivery.
- cname String
- Specify a custom domain that will be used to deliver content via CDN.
- active Boolean
- Enable or disable the CDN resource.
- cdnResource StringId 
- The ID of this resource.
- description String
- Leave an optional comment that describes this CDN resource.
- issueLe BooleanCert 
- Generate LE certificate.
- options Property Map
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin String
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup Number
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol String
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames List<String>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated Boolean
- generate LE certificate automatically.
- sslData Number
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled Boolean
- Enable or disable the HTTPS protocol for content delivery.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdnResource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- SslLe boolEnabled 
- Status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- Id string
- The provider-assigned unique ID for this managed resource.
- SslLe boolEnabled 
- Status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- id String
- The provider-assigned unique ID for this managed resource.
- sslLe BooleanEnabled 
- status String
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- id string
- The provider-assigned unique ID for this managed resource.
- sslLe booleanEnabled 
- status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- id str
- The provider-assigned unique ID for this managed resource.
- ssl_le_ boolenabled 
- status str
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- id String
- The provider-assigned unique ID for this managed resource.
- sslLe BooleanEnabled 
- status String
- CDN resource status. Allowed values are "active", "suspended", or "processed".
Look up Existing CdnResource Resource
Get an existing CdnResource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CdnResourceState, opts?: CustomResourceOptions): CdnResource@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        cdn_resource_id: Optional[str] = None,
        cname: Optional[str] = None,
        description: Optional[str] = None,
        issue_le_cert: Optional[bool] = None,
        options: Optional[CdnResourceOptionsArgs] = None,
        origin: Optional[str] = None,
        origin_group: Optional[float] = None,
        origin_protocol: Optional[str] = None,
        secondary_hostnames: Optional[Sequence[str]] = None,
        ssl_automated: Optional[bool] = None,
        ssl_data: Optional[float] = None,
        ssl_enabled: Optional[bool] = None,
        ssl_le_enabled: Optional[bool] = None,
        status: Optional[str] = None) -> CdnResourcefunc GetCdnResource(ctx *Context, name string, id IDInput, state *CdnResourceState, opts ...ResourceOption) (*CdnResource, error)public static CdnResource Get(string name, Input<string> id, CdnResourceState? state, CustomResourceOptions? opts = null)public static CdnResource get(String name, Output<String> id, CdnResourceState state, CustomResourceOptions options)resources:  _:    type: edgecenter:CdnResource    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active bool
- Enable or disable the CDN resource.
- CdnResource stringId 
- The ID of this resource.
- Cname string
- Specify a custom domain that will be used to deliver content via CDN.
- Description string
- Leave an optional comment that describes this CDN resource.
- IssueLe boolCert 
- Generate LE certificate.
- Options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- OriginGroup double
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- OriginProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- SecondaryHostnames List<string>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- SslAutomated bool
- generate LE certificate automatically.
- SslData double
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- SslEnabled bool
- Enable or disable the HTTPS protocol for content delivery.
- SslLe boolEnabled 
- Status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- Active bool
- Enable or disable the CDN resource.
- CdnResource stringId 
- The ID of this resource.
- Cname string
- Specify a custom domain that will be used to deliver content via CDN.
- Description string
- Leave an optional comment that describes this CDN resource.
- IssueLe boolCert 
- Generate LE certificate.
- Options
CdnResource Options Args 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- OriginGroup float64
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- OriginProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- SecondaryHostnames []string
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- SslAutomated bool
- generate LE certificate automatically.
- SslData float64
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- SslEnabled bool
- Enable or disable the HTTPS protocol for content delivery.
- SslLe boolEnabled 
- Status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- active Boolean
- Enable or disable the CDN resource.
- cdnResource StringId 
- The ID of this resource.
- cname String
- Specify a custom domain that will be used to deliver content via CDN.
- description String
- Leave an optional comment that describes this CDN resource.
- issueLe BooleanCert 
- Generate LE certificate.
- options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin String
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup Double
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol String
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames List<String>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated Boolean
- generate LE certificate automatically.
- sslData Double
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled Boolean
- Enable or disable the HTTPS protocol for content delivery.
- sslLe BooleanEnabled 
- status String
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- active boolean
- Enable or disable the CDN resource.
- cdnResource stringId 
- The ID of this resource.
- cname string
- Specify a custom domain that will be used to deliver content via CDN.
- description string
- Leave an optional comment that describes this CDN resource.
- issueLe booleanCert 
- Generate LE certificate.
- options
CdnResource Options 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin string
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup number
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol string
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames string[]
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated boolean
- generate LE certificate automatically.
- sslData number
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled boolean
- Enable or disable the HTTPS protocol for content delivery.
- sslLe booleanEnabled 
- status string
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- active bool
- Enable or disable the CDN resource.
- cdn_resource_ strid 
- The ID of this resource.
- cname str
- Specify a custom domain that will be used to deliver content via CDN.
- description str
- Leave an optional comment that describes this CDN resource.
- issue_le_ boolcert 
- Generate LE certificate.
- options
CdnResource Options Args 
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin str
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- origin_group float
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- origin_protocol str
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondary_hostnames Sequence[str]
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- ssl_automated bool
- generate LE certificate automatically.
- ssl_data float
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- ssl_enabled bool
- Enable or disable the HTTPS protocol for content delivery.
- ssl_le_ boolenabled 
- status str
- CDN resource status. Allowed values are "active", "suspended", or "processed".
- active Boolean
- Enable or disable the CDN resource.
- cdnResource StringId 
- The ID of this resource.
- cname String
- Specify a custom domain that will be used to deliver content via CDN.
- description String
- Leave an optional comment that describes this CDN resource.
- issueLe BooleanCert 
- Generate LE certificate.
- options Property Map
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin String
- Enter a domain name or the IP address of your source. Specify a port if custom. You can use either "origin" or "origin_group" field in the request.
- originGroup Number
- Enter the source group ID. Use one of your source groups or create a new one. You can use either "origin" or "origin_group" field in the request.
- originProtocol String
- Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- secondaryHostnames List<String>
- Specify up to 10 additional custom domains that will be used to deliver content via the CDN.
- sslAutomated Boolean
- generate LE certificate automatically.
- sslData Number
- Specify the SSL certificate ID which will be used for the CDN resource. The field must be used only with "ssl_enabled": true.
- sslEnabled Boolean
- Enable or disable the HTTPS protocol for content delivery.
- sslLe BooleanEnabled 
- status String
- CDN resource status. Allowed values are "active", "suspended", or "processed".
Supporting Types
CdnResourceOptions, CdnResourceOptionsArgs      
- AllowedHttp CdnMethods Resource Options Allowed Http Methods 
- Set a list of allowed HTTP methods for the CDN content.
- BrotliCompression CdnResource Options Brotli Compression 
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- BrowserCache CdnSettings Resource Options Browser Cache Settings 
- Set the cache lifetime for the end users’ browsers in seconds.
- Cors
CdnResource Options Cors 
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- DisableProxy CdnForce Ranges Resource Options Disable Proxy Force Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- EdgeCache CdnSettings Resource Options Edge Cache Settings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- FetchCompressed CdnResource Options Fetch Compressed 
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- FollowOrigin CdnRedirect Resource Options Follow Origin Redirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- ForceReturn CdnResource Options Force Return 
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- ForwardHost CdnHeader Resource Options Forward Host Header 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- GeoAcl CdnResource Options Geo Acl 
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- GzipCompression CdnResource Options Gzip Compression 
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- HostHeader CdnResource Options Host Header 
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Http3Enabled
CdnResource Options Http3Enabled 
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- 
CdnResource Options Ignore Cookie 
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- IgnoreQuery CdnString Resource Options Ignore Query String 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- ImageStack CdnResource Options Image Stack 
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- IpAddress CdnAcl Resource Options Ip Address Acl 
- Control access to content from the specified IP addresses.
- LimitBandwidth CdnResource Options Limit Bandwidth 
- Control the download speed per connection.
- ProxyCache CdnMethods Set Resource Options Proxy Cache Methods Set 
- Allow the caching for GET, HEAD, and POST requests.
- QueryParams CdnBlacklist Resource Options Query Params Blacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- QueryParams CdnWhitelist Resource Options Query Params Whitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- RedirectHttp CdnTo Https Resource Options Redirect Http To Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- RedirectHttps CdnTo Http Resource Options Redirect Https To Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- ReferrerAcl CdnResource Options Referrer Acl 
- Сontrol access to content from the specified domain names.
- ResponseHeaders CdnHiding Policy Resource Options Response Headers Hiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- Rewrite
CdnResource Options Rewrite 
- Change and redirect the requests from the CDN to the source.
- SecureKey CdnResource Options Secure Key 
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- Slice
CdnResource Options Slice 
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- Sni
CdnResource Options Sni 
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- Stale
CdnResource Options Stale 
- Let CDN serve stale cached content in case of the source unavailability.
- StaticRequest CdnHeaders Resource Options Static Request Headers 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- StaticResponse CdnHeaders Resource Options Static Response Headers 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- TlsVersions CdnResource Options Tls Versions 
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- UseDefault CdnLe Chain Resource Options Use Default Le Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- UserAgent CdnAcl Resource Options User Agent Acl 
- Control access to content for the specified user agents.
- Websockets
CdnResource Options Websockets 
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- AllowedHttp CdnMethods Resource Options Allowed Http Methods 
- Set a list of allowed HTTP methods for the CDN content.
- BrotliCompression CdnResource Options Brotli Compression 
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- BrowserCache CdnSettings Resource Options Browser Cache Settings 
- Set the cache lifetime for the end users’ browsers in seconds.
- Cors
CdnResource Options Cors 
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- DisableProxy CdnForce Ranges Resource Options Disable Proxy Force Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- EdgeCache CdnSettings Resource Options Edge Cache Settings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- FetchCompressed CdnResource Options Fetch Compressed 
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- FollowOrigin CdnRedirect Resource Options Follow Origin Redirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- ForceReturn CdnResource Options Force Return 
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- ForwardHost CdnHeader Resource Options Forward Host Header 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- GeoAcl CdnResource Options Geo Acl 
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- GzipCompression CdnResource Options Gzip Compression 
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- HostHeader CdnResource Options Host Header 
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Http3Enabled
CdnResource Options Http3Enabled 
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- 
CdnResource Options Ignore Cookie 
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- IgnoreQuery CdnString Resource Options Ignore Query String 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- ImageStack CdnResource Options Image Stack 
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- IpAddress CdnAcl Resource Options Ip Address Acl 
- Control access to content from the specified IP addresses.
- LimitBandwidth CdnResource Options Limit Bandwidth 
- Control the download speed per connection.
- ProxyCache CdnMethods Set Resource Options Proxy Cache Methods Set 
- Allow the caching for GET, HEAD, and POST requests.
- QueryParams CdnBlacklist Resource Options Query Params Blacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- QueryParams CdnWhitelist Resource Options Query Params Whitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- RedirectHttp CdnTo Https Resource Options Redirect Http To Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- RedirectHttps CdnTo Http Resource Options Redirect Https To Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- ReferrerAcl CdnResource Options Referrer Acl 
- Сontrol access to content from the specified domain names.
- ResponseHeaders CdnHiding Policy Resource Options Response Headers Hiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- Rewrite
CdnResource Options Rewrite 
- Change and redirect the requests from the CDN to the source.
- SecureKey CdnResource Options Secure Key 
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- Slice
CdnResource Options Slice 
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- Sni
CdnResource Options Sni 
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- Stale
CdnResource Options Stale 
- Let CDN serve stale cached content in case of the source unavailability.
- StaticRequest CdnHeaders Resource Options Static Request Headers 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- StaticResponse CdnHeaders Resource Options Static Response Headers 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- TlsVersions CdnResource Options Tls Versions 
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- UseDefault CdnLe Chain Resource Options Use Default Le Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- UserAgent CdnAcl Resource Options User Agent Acl 
- Control access to content for the specified user agents.
- Websockets
CdnResource Options Websockets 
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowedHttp CdnMethods Resource Options Allowed Http Methods 
- Set a list of allowed HTTP methods for the CDN content.
- brotliCompression CdnResource Options Brotli Compression 
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browserCache CdnSettings Resource Options Browser Cache Settings 
- Set the cache lifetime for the end users’ browsers in seconds.
- cors
CdnResource Options Cors 
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disableProxy CdnForce Ranges Resource Options Disable Proxy Force Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edgeCache CdnSettings Resource Options Edge Cache Settings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetchCompressed CdnResource Options Fetch Compressed 
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- followOrigin CdnRedirect Resource Options Follow Origin Redirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- forceReturn CdnResource Options Force Return 
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forwardHost CdnHeader Resource Options Forward Host Header 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geoAcl CdnResource Options Geo Acl 
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzipCompression CdnResource Options Gzip Compression 
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- hostHeader CdnResource Options Host Header 
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- http3Enabled
CdnResource Options Http3Enabled 
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- 
CdnResource Options Ignore Cookie 
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignoreQuery CdnString Resource Options Ignore Query String 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- imageStack CdnResource Options Image Stack 
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ipAddress CdnAcl Resource Options Ip Address Acl 
- Control access to content from the specified IP addresses.
- limitBandwidth CdnResource Options Limit Bandwidth 
- Control the download speed per connection.
- proxyCache CdnMethods Set Resource Options Proxy Cache Methods Set 
- Allow the caching for GET, HEAD, and POST requests.
- queryParams CdnBlacklist Resource Options Query Params Blacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- queryParams CdnWhitelist Resource Options Query Params Whitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirectHttp CdnTo Https Resource Options Redirect Http To Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirectHttps CdnTo Http Resource Options Redirect Https To Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrerAcl CdnResource Options Referrer Acl 
- Сontrol access to content from the specified domain names.
- responseHeaders CdnHiding Policy Resource Options Response Headers Hiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
CdnResource Options Rewrite 
- Change and redirect the requests from the CDN to the source.
- secureKey CdnResource Options Secure Key 
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
CdnResource Options Slice 
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
CdnResource Options Sni 
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
CdnResource Options Stale 
- Let CDN serve stale cached content in case of the source unavailability.
- staticRequest CdnHeaders Resource Options Static Request Headers 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- staticResponse CdnHeaders Resource Options Static Response Headers 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- tlsVersions CdnResource Options Tls Versions 
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- useDefault CdnLe Chain Resource Options Use Default Le Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- userAgent CdnAcl Resource Options User Agent Acl 
- Control access to content for the specified user agents.
- websockets
CdnResource Options Websockets 
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowedHttp CdnMethods Resource Options Allowed Http Methods 
- Set a list of allowed HTTP methods for the CDN content.
- brotliCompression CdnResource Options Brotli Compression 
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browserCache CdnSettings Resource Options Browser Cache Settings 
- Set the cache lifetime for the end users’ browsers in seconds.
- cors
CdnResource Options Cors 
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disableProxy CdnForce Ranges Resource Options Disable Proxy Force Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edgeCache CdnSettings Resource Options Edge Cache Settings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetchCompressed CdnResource Options Fetch Compressed 
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- followOrigin CdnRedirect Resource Options Follow Origin Redirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- forceReturn CdnResource Options Force Return 
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forwardHost CdnHeader Resource Options Forward Host Header 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geoAcl CdnResource Options Geo Acl 
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzipCompression CdnResource Options Gzip Compression 
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- hostHeader CdnResource Options Host Header 
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- http3Enabled
CdnResource Options Http3Enabled 
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- 
CdnResource Options Ignore Cookie 
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignoreQuery CdnString Resource Options Ignore Query String 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- imageStack CdnResource Options Image Stack 
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ipAddress CdnAcl Resource Options Ip Address Acl 
- Control access to content from the specified IP addresses.
- limitBandwidth CdnResource Options Limit Bandwidth 
- Control the download speed per connection.
- proxyCache CdnMethods Set Resource Options Proxy Cache Methods Set 
- Allow the caching for GET, HEAD, and POST requests.
- queryParams CdnBlacklist Resource Options Query Params Blacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- queryParams CdnWhitelist Resource Options Query Params Whitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirectHttp CdnTo Https Resource Options Redirect Http To Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirectHttps CdnTo Http Resource Options Redirect Https To Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrerAcl CdnResource Options Referrer Acl 
- Сontrol access to content from the specified domain names.
- responseHeaders CdnHiding Policy Resource Options Response Headers Hiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
CdnResource Options Rewrite 
- Change and redirect the requests from the CDN to the source.
- secureKey CdnResource Options Secure Key 
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
CdnResource Options Slice 
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
CdnResource Options Sni 
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
CdnResource Options Stale 
- Let CDN serve stale cached content in case of the source unavailability.
- staticRequest CdnHeaders Resource Options Static Request Headers 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- staticResponse CdnHeaders Resource Options Static Response Headers 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- tlsVersions CdnResource Options Tls Versions 
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- useDefault CdnLe Chain Resource Options Use Default Le Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- userAgent CdnAcl Resource Options User Agent Acl 
- Control access to content for the specified user agents.
- websockets
CdnResource Options Websockets 
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowed_http_ Cdnmethods Resource Options Allowed Http Methods 
- Set a list of allowed HTTP methods for the CDN content.
- brotli_compression CdnResource Options Brotli Compression 
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browser_cache_ Cdnsettings Resource Options Browser Cache Settings 
- Set the cache lifetime for the end users’ browsers in seconds.
- cors
CdnResource Options Cors 
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disable_proxy_ Cdnforce_ ranges Resource Options Disable Proxy Force Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edge_cache_ Cdnsettings Resource Options Edge Cache Settings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetch_compressed CdnResource Options Fetch Compressed 
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- follow_origin_ Cdnredirect Resource Options Follow Origin Redirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- force_return CdnResource Options Force Return 
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward_host_ Cdnheader Resource Options Forward Host Header 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geo_acl CdnResource Options Geo Acl 
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzip_compression CdnResource Options Gzip Compression 
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- host_header CdnResource Options Host Header 
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- http3_enabled CdnResource Options Http3Enabled 
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- 
CdnResource Options Ignore Cookie 
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignore_query_ Cdnstring Resource Options Ignore Query String 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- image_stack CdnResource Options Image Stack 
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ip_address_ Cdnacl Resource Options Ip Address Acl 
- Control access to content from the specified IP addresses.
- limit_bandwidth CdnResource Options Limit Bandwidth 
- Control the download speed per connection.
- proxy_cache_ Cdnmethods_ set Resource Options Proxy Cache Methods Set 
- Allow the caching for GET, HEAD, and POST requests.
- query_params_ Cdnblacklist Resource Options Query Params Blacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- query_params_ Cdnwhitelist Resource Options Query Params Whitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirect_http_ Cdnto_ https Resource Options Redirect Http To Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirect_https_ Cdnto_ http Resource Options Redirect Https To Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrer_acl CdnResource Options Referrer Acl 
- Сontrol access to content from the specified domain names.
- response_headers_ Cdnhiding_ policy Resource Options Response Headers Hiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
CdnResource Options Rewrite 
- Change and redirect the requests from the CDN to the source.
- secure_key CdnResource Options Secure Key 
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
CdnResource Options Slice 
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
CdnResource Options Sni 
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
CdnResource Options Stale 
- Let CDN serve stale cached content in case of the source unavailability.
- static_request_ Cdnheaders Resource Options Static Request Headers 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- static_response_ Cdnheaders Resource Options Static Response Headers 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- tls_versions CdnResource Options Tls Versions 
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- use_default_ Cdnle_ chain Resource Options Use Default Le Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- user_agent_ Cdnacl Resource Options User Agent Acl 
- Control access to content for the specified user agents.
- websockets
CdnResource Options Websockets 
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowedHttp Property MapMethods 
- Set a list of allowed HTTP methods for the CDN content.
- brotliCompression Property Map
- Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browserCache Property MapSettings 
- Set the cache lifetime for the end users’ browsers in seconds.
- cors Property Map
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disableProxy Property MapForce Ranges 
- Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edgeCache Property MapSettings 
- Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetchCompressed Property Map
- Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- followOrigin Property MapRedirect 
- If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- forceReturn Property Map
- Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forwardHost Property MapHeader 
- Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geoAcl Property Map
- Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzipCompression Property Map
- Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- hostHeader Property Map
- Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- http3Enabled Property Map
- Enable the HTTP/3 protocol for content delivery when supported by the end user’s browser.
- Property Map
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignoreQuery Property MapString 
- Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- imageStack Property Map
- Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ipAddress Property MapAcl 
- Control access to content from the specified IP addresses.
- limitBandwidth Property Map
- Control the download speed per connection.
- proxyCache Property MapMethods Set 
- Allow the caching for GET, HEAD, and POST requests.
- queryParams Property MapBlacklist 
- Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- queryParams Property MapWhitelist 
- Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirectHttp Property MapTo Https 
- Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirectHttps Property MapTo Http 
- Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrerAcl Property Map
- Сontrol access to content from the specified domain names.
- responseHeaders Property MapHiding Policy 
- Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite Property Map
- Change and redirect the requests from the CDN to the source.
- secureKey Property Map
- Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice Property Map
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni Property Map
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale Property Map
- Let CDN serve stale cached content in case of the source unavailability.
- staticRequest Property MapHeaders 
- Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- staticResponse Property MapHeaders 
- Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- tlsVersions Property Map
- Specify a list of allowed SSL/TLS protocol versions. By default, all the protocol versions are allowed.
- useDefault Property MapLe Chain 
- Choose the Let's Encrypt certificate chain that will be used on the CDN resource. By default, the certificate is issued with the alternative chain.
- userAgent Property MapAcl 
- Control access to content for the specified user agents.
- websockets Property Map
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
CdnResourceOptionsAllowedHttpMethods, CdnResourceOptionsAllowedHttpMethodsArgs            
CdnResourceOptionsBrotliCompression, CdnResourceOptionsBrotliCompressionArgs          
- Values List<string>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsBrowserCacheSettings, CdnResourceOptionsBrowserCacheSettingsArgs            
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value str
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
CdnResourceOptionsCors, CdnResourceOptionsCorsArgs        
- Values List<string>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- Always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- Always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always Boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always Boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsDisableProxyForceRanges, CdnResourceOptionsDisableProxyForceRangesArgs              
CdnResourceOptionsEdgeCacheSettings, CdnResourceOptionsEdgeCacheSettingsArgs            
- CustomValues Dictionary<string, string>
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- Default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- CustomValues map[string]string
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- Default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- customValues Map<String,String>
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default_ String
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- customValues {[key: string]: string}
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- custom_values Mapping[str, str]
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default str
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value str
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- customValues Map<String>
- Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default String
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
CdnResourceOptionsFetchCompressed, CdnResourceOptionsFetchCompressedArgs          
CdnResourceOptionsFollowOriginRedirect, CdnResourceOptionsFollowOriginRedirectArgs            
- Codes List<double>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- UseHost bool
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- Codes []float64
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- UseHost bool
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes List<Double>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- useHost Boolean
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes number[]
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- useHost boolean
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes Sequence[float]
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- use_host bool
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes List<Number>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- useHost Boolean
- Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
CdnResourceOptionsForceReturn, CdnResourceOptionsForceReturnArgs          
CdnResourceOptionsForwardHostHeader, CdnResourceOptionsForwardHostHeaderArgs            
CdnResourceOptionsGeoAcl, CdnResourceOptionsGeoAclArgs          
- ExceptedValues List<CdnResource Options Geo Acl Excepted Value> 
- Shows the list of countries and their regions
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- PolicyType string
- Shows the chosen policy type. Has either "allow" or "deny" value.
- ExceptedValues []CdnResource Options Geo Acl Excepted Value 
- Shows the list of countries and their regions
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- PolicyType string
- Shows the chosen policy type. Has either "allow" or "deny" value.
- exceptedValues List<CdnResource Options Geo Acl Excepted Value> 
- Shows the list of countries and their regions
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policyType String
- Shows the chosen policy type. Has either "allow" or "deny" value.
- exceptedValues CdnResource Options Geo Acl Excepted Value[] 
- Shows the list of countries and their regions
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policyType string
- Shows the chosen policy type. Has either "allow" or "deny" value.
- excepted_values Sequence[CdnResource Options Geo Acl Excepted Value] 
- Shows the list of countries and their regions
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- policy_type str
- Shows the chosen policy type. Has either "allow" or "deny" value.
- exceptedValues List<Property Map>
- Shows the list of countries and their regions
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policyType String
- Shows the chosen policy type. Has either "allow" or "deny" value.
CdnResourceOptionsGeoAclExceptedValue, CdnResourceOptionsGeoAclExceptedValueArgs              
CdnResourceOptionsGzipCompression, CdnResourceOptionsGzipCompressionArgs          
- Values List<string>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsHostHeader, CdnResourceOptionsHostHeaderArgs          
CdnResourceOptionsHttp3Enabled, CdnResourceOptionsHttp3EnabledArgs        
CdnResourceOptionsIgnoreCookie, CdnResourceOptionsIgnoreCookieArgs          
CdnResourceOptionsIgnoreQueryString, CdnResourceOptionsIgnoreQueryStringArgs            
CdnResourceOptionsImageStack, CdnResourceOptionsImageStackArgs          
- Quality double
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- AvifEnabled bool
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- PngLossless bool
- Specify if the PNG images should be compressed without the quality loss.
- WebpEnabled bool
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- Quality float64
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- AvifEnabled bool
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- PngLossless bool
- Specify if the PNG images should be compressed without the quality loss.
- WebpEnabled bool
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality Double
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avifEnabled Boolean
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- pngLossless Boolean
- Specify if the PNG images should be compressed without the quality loss.
- webpEnabled Boolean
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality number
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avifEnabled boolean
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- pngLossless boolean
- Specify if the PNG images should be compressed without the quality loss.
- webpEnabled boolean
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality float
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avif_enabled bool
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- png_lossless bool
- Specify if the PNG images should be compressed without the quality loss.
- webp_enabled bool
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality Number
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avifEnabled Boolean
- Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- pngLossless Boolean
- Specify if the PNG images should be compressed without the quality loss.
- webpEnabled Boolean
- Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
CdnResourceOptionsIpAddressAcl, CdnResourceOptionsIpAddressAclArgs            
- ExceptedValues List<string>
- Add the list of IP addresses.
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- ExceptedValues []string
- Add the list of IP addresses.
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add the list of IP addresses.
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues string[]
- Add the list of IP addresses.
- policyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_values Sequence[str]
- Add the list of IP addresses.
- policy_type str
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add the list of IP addresses.
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsLimitBandwidth, CdnResourceOptionsLimitBandwidthArgs          
- LimitType string
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- Buffer double
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Speed double
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- LimitType string
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- Buffer float64
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Speed float64
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limitType String
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer Double
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed Double
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limitType string
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer number
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed number
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limit_type str
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer float
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- speed float
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limitType String
- Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer Number
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed Number
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
CdnResourceOptionsProxyCacheMethodsSet, CdnResourceOptionsProxyCacheMethodsSetArgs              
CdnResourceOptionsQueryParamsBlacklist, CdnResourceOptionsQueryParamsBlacklistArgs            
CdnResourceOptionsQueryParamsWhitelist, CdnResourceOptionsQueryParamsWhitelistArgs            
CdnResourceOptionsRedirectHttpToHttps, CdnResourceOptionsRedirectHttpToHttpsArgs              
CdnResourceOptionsRedirectHttpsToHttp, CdnResourceOptionsRedirectHttpsToHttpArgs              
CdnResourceOptionsReferrerAcl, CdnResourceOptionsReferrerAclArgs          
- ExceptedValues List<string>
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- ExceptedValues []string
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues string[]
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_values Sequence[str]
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policy_type str
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsResponseHeadersHidingPolicy, CdnResourceOptionsResponseHeadersHidingPolicyArgs              
- Excepteds List<string>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- Mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Excepteds []string
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- Mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds List<String>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode String
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds string[]
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds Sequence[str]
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode str
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds List<String>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode String
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsRewrite, CdnResourceOptionsRewriteArgs        
CdnResourceOptionsSecureKey, CdnResourceOptionsSecureKeyArgs          
- Key string
- Add the key generated on your side which will be used for the URL signing.
- Type double
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Key string
- Add the key generated on your side which will be used for the URL signing.
- Type float64
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- key String
- Add the key generated on your side which will be used for the URL signing.
- type Double
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- key string
- Add the key generated on your side which will be used for the URL signing.
- type number
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- key str
- Add the key generated on your side which will be used for the URL signing.
- type float
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- key String
- Add the key generated on your side which will be used for the URL signing.
- type Number
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsSlice, CdnResourceOptionsSliceArgs        
CdnResourceOptionsSni, CdnResourceOptionsSniArgs        
- CustomHostname string
- Specify the custom SNI hostname.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- SniType string
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- CustomHostname string
- Specify the custom SNI hostname.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- SniType string
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- customHostname String
- Specify the custom SNI hostname.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sniType String
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- customHostname string
- Specify the custom SNI hostname.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sniType string
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- custom_hostname str
- Specify the custom SNI hostname.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- sni_type str
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- customHostname String
- Specify the custom SNI hostname.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sniType String
- Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
CdnResourceOptionsStale, CdnResourceOptionsStaleArgs        
CdnResourceOptionsStaticRequestHeaders, CdnResourceOptionsStaticRequestHeadersArgs            
- Value Dictionary<string, string>
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value map[string]string
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Map<String,String>
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value {[key: string]: string}
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value Mapping[str, str]
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Map<String>
- Add the list of custom HTTP request headers in the "name: value" format. Header name is restricted to 255 symbols and can contain Latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores Header value is restricted to 512 symbols and must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsStaticResponseHeaders, CdnResourceOptionsStaticResponseHeadersArgs            
- Values
List<CdnResource Options Static Response Headers Value> 
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values
[]CdnResource Options Static Response Headers Value 
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values
List<CdnResource Options Static Response Headers Value> 
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values
CdnResource Options Static Response Headers Value[] 
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values
Sequence[CdnResource Options Static Response Headers Value] 
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<Property Map>
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsStaticResponseHeadersValue, CdnResourceOptionsStaticResponseHeadersValueArgs              
- Name string
- Add the header name.
- Values List<string>
- Add the header value.
- Always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- Name string
- Add the header name.
- Values []string
- Add the header value.
- Always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name String
- Add the header name.
- values List<String>
- Add the header value.
- always Boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name string
- Add the header name.
- values string[]
- Add the header value.
- always boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name str
- Add the header name.
- values Sequence[str]
- Add the header value.
- always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name String
- Add the header name.
- values List<String>
- Add the header value.
- always Boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
CdnResourceOptionsTlsVersions, CdnResourceOptionsTlsVersionsArgs          
CdnResourceOptionsUseDefaultLeChain, CdnResourceOptionsUseDefaultLeChainArgs              
- Value bool
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value bool
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Boolean
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value boolean
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value bool
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Boolean
- Choose the certificate chain type. Allowed values are "true" or "false". If set to "true", a default chain is chosen. Use it for Android devices 7.1.1 or lower. If set to "false", an alternative certificate chain is chosen.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsUserAgentAcl, CdnResourceOptionsUserAgentAclArgs            
- ExceptedValues List<string>
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- ExceptedValues []string
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- PolicyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues string[]
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policyType string
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_values Sequence[str]
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policy_type str
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- exceptedValues List<String>
- Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policyType String
- Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnResourceOptionsWebsockets, CdnResourceOptionsWebsocketsArgs        
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the edgecenterTerraform Provider.