1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. CdnRule
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.CdnRule

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    Represent cdn resource rule

    Create CdnRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CdnRule(name: string, args: CdnRuleArgs, opts?: CustomResourceOptions);
    @overload
    def CdnRule(resource_name: str,
                args: CdnRuleArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnRule(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_id: Optional[float] = None,
                rule: Optional[str] = None,
                active: Optional[bool] = None,
                cdn_rule_id: Optional[str] = None,
                name: Optional[str] = None,
                options: Optional[CdnRuleOptionsArgs] = None,
                origin_group: Optional[float] = None,
                origin_protocol: Optional[str] = None,
                weight: Optional[float] = None)
    func NewCdnRule(ctx *Context, name string, args CdnRuleArgs, opts ...ResourceOption) (*CdnRule, error)
    public CdnRule(string name, CdnRuleArgs args, CustomResourceOptions? opts = null)
    public CdnRule(String name, CdnRuleArgs args)
    public CdnRule(String name, CdnRuleArgs args, CustomResourceOptions options)
    
    type: edgecenter:CdnRule
    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 CdnRuleArgs
    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 CdnRuleArgs
    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 CdnRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnRuleArgs
    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 cdnRuleResource = new Edgecenter.CdnRule("cdnRuleResource", new()
    {
        ResourceId = 0,
        Rule = "string",
        Active = false,
        CdnRuleId = "string",
        Name = "string",
        Options = new Edgecenter.Inputs.CdnRuleOptionsArgs
        {
            AllowedHttpMethods = new Edgecenter.Inputs.CdnRuleOptionsAllowedHttpMethodsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrotliCompression = new Edgecenter.Inputs.CdnRuleOptionsBrotliCompressionArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            BrowserCacheSettings = new Edgecenter.Inputs.CdnRuleOptionsBrowserCacheSettingsArgs
            {
                Enabled = false,
                Value = "string",
            },
            Cors = new Edgecenter.Inputs.CdnRuleOptionsCorsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Always = false,
                Enabled = false,
            },
            DisableProxyForceRanges = new Edgecenter.Inputs.CdnRuleOptionsDisableProxyForceRangesArgs
            {
                Value = false,
                Enabled = false,
            },
            EdgeCacheSettings = new Edgecenter.Inputs.CdnRuleOptionsEdgeCacheSettingsArgs
            {
                CustomValues = 
                {
                    { "string", "string" },
                },
                Default = "string",
                Enabled = false,
                Value = "string",
            },
            FetchCompressed = new Edgecenter.Inputs.CdnRuleOptionsFetchCompressedArgs
            {
                Value = false,
                Enabled = false,
            },
            FollowOriginRedirect = new Edgecenter.Inputs.CdnRuleOptionsFollowOriginRedirectArgs
            {
                Codes = new[]
                {
                    0,
                },
                Enabled = false,
                UseHost = false,
            },
            ForceReturn = new Edgecenter.Inputs.CdnRuleOptionsForceReturnArgs
            {
                Code = 0,
                Body = "string",
                Enabled = false,
            },
            ForwardHostHeader = new Edgecenter.Inputs.CdnRuleOptionsForwardHostHeaderArgs
            {
                Value = false,
                Enabled = false,
            },
            GeoAcl = new Edgecenter.Inputs.CdnRuleOptionsGeoAclArgs
            {
                ExceptedValues = new[]
                {
                    new Edgecenter.Inputs.CdnRuleOptionsGeoAclExceptedValueArgs
                    {
                        Key = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
                Enabled = false,
                PolicyType = "string",
            },
            GzipCompression = new Edgecenter.Inputs.CdnRuleOptionsGzipCompressionArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            HostHeader = new Edgecenter.Inputs.CdnRuleOptionsHostHeaderArgs
            {
                Value = "string",
                Enabled = false,
            },
            IgnoreCookie = new Edgecenter.Inputs.CdnRuleOptionsIgnoreCookieArgs
            {
                Value = false,
                Enabled = false,
            },
            IgnoreQueryString = new Edgecenter.Inputs.CdnRuleOptionsIgnoreQueryStringArgs
            {
                Value = false,
                Enabled = false,
            },
            ImageStack = new Edgecenter.Inputs.CdnRuleOptionsImageStackArgs
            {
                Quality = 0,
                AvifEnabled = false,
                Enabled = false,
                PngLossless = false,
                WebpEnabled = false,
            },
            IpAddressAcl = new Edgecenter.Inputs.CdnRuleOptionsIpAddressAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            LimitBandwidth = new Edgecenter.Inputs.CdnRuleOptionsLimitBandwidthArgs
            {
                LimitType = "string",
                Buffer = 0,
                Enabled = false,
                Speed = 0,
            },
            ProxyCacheMethodsSet = new Edgecenter.Inputs.CdnRuleOptionsProxyCacheMethodsSetArgs
            {
                Value = false,
                Enabled = false,
            },
            QueryParamsBlacklist = new Edgecenter.Inputs.CdnRuleOptionsQueryParamsBlacklistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            QueryParamsWhitelist = new Edgecenter.Inputs.CdnRuleOptionsQueryParamsWhitelistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            RedirectHttpToHttps = new Edgecenter.Inputs.CdnRuleOptionsRedirectHttpToHttpsArgs
            {
                Value = false,
                Enabled = false,
            },
            RedirectHttpsToHttp = new Edgecenter.Inputs.CdnRuleOptionsRedirectHttpsToHttpArgs
            {
                Value = false,
                Enabled = false,
            },
            ReferrerAcl = new Edgecenter.Inputs.CdnRuleOptionsReferrerAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            ResponseHeadersHidingPolicy = new Edgecenter.Inputs.CdnRuleOptionsResponseHeadersHidingPolicyArgs
            {
                Excepteds = new[]
                {
                    "string",
                },
                Mode = "string",
                Enabled = false,
            },
            Rewrite = new Edgecenter.Inputs.CdnRuleOptionsRewriteArgs
            {
                Body = "string",
                Enabled = false,
                Flag = "string",
            },
            SecureKey = new Edgecenter.Inputs.CdnRuleOptionsSecureKeyArgs
            {
                Key = "string",
                Type = 0,
                Enabled = false,
            },
            Slice = new Edgecenter.Inputs.CdnRuleOptionsSliceArgs
            {
                Value = false,
                Enabled = false,
            },
            Sni = new Edgecenter.Inputs.CdnRuleOptionsSniArgs
            {
                CustomHostname = "string",
                Enabled = false,
                SniType = "string",
            },
            Stale = new Edgecenter.Inputs.CdnRuleOptionsStaleArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            StaticRequestHeaders = new Edgecenter.Inputs.CdnRuleOptionsStaticRequestHeadersArgs
            {
                Value = 
                {
                    { "string", "string" },
                },
                Enabled = false,
            },
            StaticResponseHeaders = new Edgecenter.Inputs.CdnRuleOptionsStaticResponseHeadersArgs
            {
                Values = new[]
                {
                    new Edgecenter.Inputs.CdnRuleOptionsStaticResponseHeadersValueArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                        Always = false,
                    },
                },
                Enabled = false,
            },
            UserAgentAcl = new Edgecenter.Inputs.CdnRuleOptionsUserAgentAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            Websockets = new Edgecenter.Inputs.CdnRuleOptionsWebsocketsArgs
            {
                Value = false,
                Enabled = false,
            },
        },
        OriginGroup = 0,
        OriginProtocol = "string",
        Weight = 0,
    });
    
    example, err := edgecenter.NewCdnRule(ctx, "cdnRuleResource", &edgecenter.CdnRuleArgs{
    	ResourceId: pulumi.Float64(0),
    	Rule:       pulumi.String("string"),
    	Active:     pulumi.Bool(false),
    	CdnRuleId:  pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Options: &edgecenter.CdnRuleOptionsArgs{
    		AllowedHttpMethods: &edgecenter.CdnRuleOptionsAllowedHttpMethodsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrotliCompression: &edgecenter.CdnRuleOptionsBrotliCompressionArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		BrowserCacheSettings: &edgecenter.CdnRuleOptionsBrowserCacheSettingsArgs{
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		Cors: &edgecenter.CdnRuleOptionsCorsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Always:  pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		DisableProxyForceRanges: &edgecenter.CdnRuleOptionsDisableProxyForceRangesArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		EdgeCacheSettings: &edgecenter.CdnRuleOptionsEdgeCacheSettingsArgs{
    			CustomValues: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Default: pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Value:   pulumi.String("string"),
    		},
    		FetchCompressed: &edgecenter.CdnRuleOptionsFetchCompressedArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		FollowOriginRedirect: &edgecenter.CdnRuleOptionsFollowOriginRedirectArgs{
    			Codes: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			Enabled: pulumi.Bool(false),
    			UseHost: pulumi.Bool(false),
    		},
    		ForceReturn: &edgecenter.CdnRuleOptionsForceReturnArgs{
    			Code:    pulumi.Float64(0),
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		ForwardHostHeader: &edgecenter.CdnRuleOptionsForwardHostHeaderArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		GeoAcl: &edgecenter.CdnRuleOptionsGeoAclArgs{
    			ExceptedValues: edgecenter.CdnRuleOptionsGeoAclExceptedValueArray{
    				&edgecenter.CdnRuleOptionsGeoAclExceptedValueArgs{
    					Key: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Enabled:    pulumi.Bool(false),
    			PolicyType: pulumi.String("string"),
    		},
    		GzipCompression: &edgecenter.CdnRuleOptionsGzipCompressionArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		HostHeader: &edgecenter.CdnRuleOptionsHostHeaderArgs{
    			Value:   pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreCookie: &edgecenter.CdnRuleOptionsIgnoreCookieArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		IgnoreQueryString: &edgecenter.CdnRuleOptionsIgnoreQueryStringArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ImageStack: &edgecenter.CdnRuleOptionsImageStackArgs{
    			Quality:     pulumi.Float64(0),
    			AvifEnabled: pulumi.Bool(false),
    			Enabled:     pulumi.Bool(false),
    			PngLossless: pulumi.Bool(false),
    			WebpEnabled: pulumi.Bool(false),
    		},
    		IpAddressAcl: &edgecenter.CdnRuleOptionsIpAddressAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		LimitBandwidth: &edgecenter.CdnRuleOptionsLimitBandwidthArgs{
    			LimitType: pulumi.String("string"),
    			Buffer:    pulumi.Float64(0),
    			Enabled:   pulumi.Bool(false),
    			Speed:     pulumi.Float64(0),
    		},
    		ProxyCacheMethodsSet: &edgecenter.CdnRuleOptionsProxyCacheMethodsSetArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsBlacklist: &edgecenter.CdnRuleOptionsQueryParamsBlacklistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		QueryParamsWhitelist: &edgecenter.CdnRuleOptionsQueryParamsWhitelistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpToHttps: &edgecenter.CdnRuleOptionsRedirectHttpToHttpsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpsToHttp: &edgecenter.CdnRuleOptionsRedirectHttpsToHttpArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		ReferrerAcl: &edgecenter.CdnRuleOptionsReferrerAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		ResponseHeadersHidingPolicy: &edgecenter.CdnRuleOptionsResponseHeadersHidingPolicyArgs{
    			Excepteds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Mode:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    		},
    		Rewrite: &edgecenter.CdnRuleOptionsRewriteArgs{
    			Body:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			Flag:    pulumi.String("string"),
    		},
    		SecureKey: &edgecenter.CdnRuleOptionsSecureKeyArgs{
    			Key:     pulumi.String("string"),
    			Type:    pulumi.Float64(0),
    			Enabled: pulumi.Bool(false),
    		},
    		Slice: &edgecenter.CdnRuleOptionsSliceArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Sni: &edgecenter.CdnRuleOptionsSniArgs{
    			CustomHostname: pulumi.String("string"),
    			Enabled:        pulumi.Bool(false),
    			SniType:        pulumi.String("string"),
    		},
    		Stale: &edgecenter.CdnRuleOptionsStaleArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticRequestHeaders: &edgecenter.CdnRuleOptionsStaticRequestHeadersArgs{
    			Value: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		StaticResponseHeaders: &edgecenter.CdnRuleOptionsStaticResponseHeadersArgs{
    			Values: edgecenter.CdnRuleOptionsStaticResponseHeadersValueArray{
    				&edgecenter.CdnRuleOptionsStaticResponseHeadersValueArgs{
    					Name: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Always: pulumi.Bool(false),
    				},
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		UserAgentAcl: &edgecenter.CdnRuleOptionsUserAgentAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		Websockets: &edgecenter.CdnRuleOptionsWebsocketsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	OriginGroup:    pulumi.Float64(0),
    	OriginProtocol: pulumi.String("string"),
    	Weight:         pulumi.Float64(0),
    })
    
    var cdnRuleResource = new CdnRule("cdnRuleResource", CdnRuleArgs.builder()
        .resourceId(0)
        .rule("string")
        .active(false)
        .cdnRuleId("string")
        .name("string")
        .options(CdnRuleOptionsArgs.builder()
            .allowedHttpMethods(CdnRuleOptionsAllowedHttpMethodsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .brotliCompression(CdnRuleOptionsBrotliCompressionArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .browserCacheSettings(CdnRuleOptionsBrowserCacheSettingsArgs.builder()
                .enabled(false)
                .value("string")
                .build())
            .cors(CdnRuleOptionsCorsArgs.builder()
                .values("string")
                .always(false)
                .enabled(false)
                .build())
            .disableProxyForceRanges(CdnRuleOptionsDisableProxyForceRangesArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .edgeCacheSettings(CdnRuleOptionsEdgeCacheSettingsArgs.builder()
                .customValues(Map.of("string", "string"))
                .default_("string")
                .enabled(false)
                .value("string")
                .build())
            .fetchCompressed(CdnRuleOptionsFetchCompressedArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .followOriginRedirect(CdnRuleOptionsFollowOriginRedirectArgs.builder()
                .codes(0)
                .enabled(false)
                .useHost(false)
                .build())
            .forceReturn(CdnRuleOptionsForceReturnArgs.builder()
                .code(0)
                .body("string")
                .enabled(false)
                .build())
            .forwardHostHeader(CdnRuleOptionsForwardHostHeaderArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .geoAcl(CdnRuleOptionsGeoAclArgs.builder()
                .exceptedValues(CdnRuleOptionsGeoAclExceptedValueArgs.builder()
                    .key("string")
                    .values("string")
                    .build())
                .enabled(false)
                .policyType("string")
                .build())
            .gzipCompression(CdnRuleOptionsGzipCompressionArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .hostHeader(CdnRuleOptionsHostHeaderArgs.builder()
                .value("string")
                .enabled(false)
                .build())
            .ignoreCookie(CdnRuleOptionsIgnoreCookieArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .ignoreQueryString(CdnRuleOptionsIgnoreQueryStringArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .imageStack(CdnRuleOptionsImageStackArgs.builder()
                .quality(0)
                .avifEnabled(false)
                .enabled(false)
                .pngLossless(false)
                .webpEnabled(false)
                .build())
            .ipAddressAcl(CdnRuleOptionsIpAddressAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .limitBandwidth(CdnRuleOptionsLimitBandwidthArgs.builder()
                .limitType("string")
                .buffer(0)
                .enabled(false)
                .speed(0)
                .build())
            .proxyCacheMethodsSet(CdnRuleOptionsProxyCacheMethodsSetArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .queryParamsBlacklist(CdnRuleOptionsQueryParamsBlacklistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .queryParamsWhitelist(CdnRuleOptionsQueryParamsWhitelistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .redirectHttpToHttps(CdnRuleOptionsRedirectHttpToHttpsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .redirectHttpsToHttp(CdnRuleOptionsRedirectHttpsToHttpArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .referrerAcl(CdnRuleOptionsReferrerAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .responseHeadersHidingPolicy(CdnRuleOptionsResponseHeadersHidingPolicyArgs.builder()
                .excepteds("string")
                .mode("string")
                .enabled(false)
                .build())
            .rewrite(CdnRuleOptionsRewriteArgs.builder()
                .body("string")
                .enabled(false)
                .flag("string")
                .build())
            .secureKey(CdnRuleOptionsSecureKeyArgs.builder()
                .key("string")
                .type(0)
                .enabled(false)
                .build())
            .slice(CdnRuleOptionsSliceArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .sni(CdnRuleOptionsSniArgs.builder()
                .customHostname("string")
                .enabled(false)
                .sniType("string")
                .build())
            .stale(CdnRuleOptionsStaleArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .staticRequestHeaders(CdnRuleOptionsStaticRequestHeadersArgs.builder()
                .value(Map.of("string", "string"))
                .enabled(false)
                .build())
            .staticResponseHeaders(CdnRuleOptionsStaticResponseHeadersArgs.builder()
                .values(CdnRuleOptionsStaticResponseHeadersValueArgs.builder()
                    .name("string")
                    .values("string")
                    .always(false)
                    .build())
                .enabled(false)
                .build())
            .userAgentAcl(CdnRuleOptionsUserAgentAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .websockets(CdnRuleOptionsWebsocketsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .build())
        .originGroup(0)
        .originProtocol("string")
        .weight(0)
        .build());
    
    cdn_rule_resource = edgecenter.CdnRule("cdnRuleResource",
        resource_id=0,
        rule="string",
        active=False,
        cdn_rule_id="string",
        name="string",
        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,
            },
            "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,
            },
            "user_agent_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "websockets": {
                "value": False,
                "enabled": False,
            },
        },
        origin_group=0,
        origin_protocol="string",
        weight=0)
    
    const cdnRuleResource = new edgecenter.CdnRule("cdnRuleResource", {
        resourceId: 0,
        rule: "string",
        active: false,
        cdnRuleId: "string",
        name: "string",
        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,
            },
            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,
            },
            userAgentAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            websockets: {
                value: false,
                enabled: false,
            },
        },
        originGroup: 0,
        originProtocol: "string",
        weight: 0,
    });
    
    type: edgecenter:CdnRule
    properties:
        active: false
        cdnRuleId: string
        name: string
        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
            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
            userAgentAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            websockets:
                enabled: false
                value: false
        originGroup: 0
        originProtocol: string
        resourceId: 0
        rule: string
        weight: 0
    

    CdnRule 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 CdnRule resource accepts the following input properties:

    ResourceId double
    Enter the CDN resource ID to which the Origin shielding should be applied.
    Rule string
    Use regex to specify the location pattern to which the settings will be applied.
    Active bool
    Enable or disable the location.
    CdnRuleId string
    The ID of this resource.
    Name string
    Enter a location name.
    Options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    OriginGroup double
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    Weight double
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    ResourceId float64
    Enter the CDN resource ID to which the Origin shielding should be applied.
    Rule string
    Use regex to specify the location pattern to which the settings will be applied.
    Active bool
    Enable or disable the location.
    CdnRuleId string
    The ID of this resource.
    Name string
    Enter a location name.
    Options CdnRuleOptionsArgs
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    OriginGroup float64
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    Weight float64
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    resourceId Double
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule String
    Use regex to specify the location pattern to which the settings will be applied.
    active Boolean
    Enable or disable the location.
    cdnRuleId String
    The ID of this resource.
    name String
    Enter a location name.
    options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    originGroup Double
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    weight Double
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    resourceId number
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule string
    Use regex to specify the location pattern to which the settings will be applied.
    active boolean
    Enable or disable the location.
    cdnRuleId string
    The ID of this resource.
    name string
    Enter a location name.
    options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    originGroup number
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    weight number
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    resource_id float
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule str
    Use regex to specify the location pattern to which the settings will be applied.
    active bool
    Enable or disable the location.
    cdn_rule_id str
    The ID of this resource.
    name str
    Enter a location name.
    options CdnRuleOptionsArgs
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    origin_group float
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    weight float
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    resourceId Number
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule String
    Use regex to specify the location pattern to which the settings will be applied.
    active Boolean
    Enable or disable the location.
    cdnRuleId String
    The ID of this resource.
    name String
    Enter a location name.
    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.
    originGroup Number
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    weight Number
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CdnRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CdnRule Resource

    Get an existing CdnRule 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?: CdnRuleState, opts?: CustomResourceOptions): CdnRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            cdn_rule_id: Optional[str] = None,
            name: Optional[str] = None,
            options: Optional[CdnRuleOptionsArgs] = None,
            origin_group: Optional[float] = None,
            origin_protocol: Optional[str] = None,
            resource_id: Optional[float] = None,
            rule: Optional[str] = None,
            weight: Optional[float] = None) -> CdnRule
    func GetCdnRule(ctx *Context, name string, id IDInput, state *CdnRuleState, opts ...ResourceOption) (*CdnRule, error)
    public static CdnRule Get(string name, Input<string> id, CdnRuleState? state, CustomResourceOptions? opts = null)
    public static CdnRule get(String name, Output<String> id, CdnRuleState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:CdnRule    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.
    The following state arguments are supported:
    Active bool
    Enable or disable the location.
    CdnRuleId string
    The ID of this resource.
    Name string
    Enter a location name.
    Options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    OriginGroup double
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    ResourceId double
    Enter the CDN resource ID to which the Origin shielding should be applied.
    Rule string
    Use regex to specify the location pattern to which the settings will be applied.
    Weight double
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    Active bool
    Enable or disable the location.
    CdnRuleId string
    The ID of this resource.
    Name string
    Enter a location name.
    Options CdnRuleOptionsArgs
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    OriginGroup float64
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    ResourceId float64
    Enter the CDN resource ID to which the Origin shielding should be applied.
    Rule string
    Use regex to specify the location pattern to which the settings will be applied.
    Weight float64
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    active Boolean
    Enable or disable the location.
    cdnRuleId String
    The ID of this resource.
    name String
    Enter a location name.
    options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    originGroup Double
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    resourceId Double
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule String
    Use regex to specify the location pattern to which the settings will be applied.
    weight Double
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    active boolean
    Enable or disable the location.
    cdnRuleId string
    The ID of this resource.
    name string
    Enter a location name.
    options CdnRuleOptions
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    originGroup number
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    resourceId number
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule string
    Use regex to specify the location pattern to which the settings will be applied.
    weight number
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    active bool
    Enable or disable the location.
    cdn_rule_id str
    The ID of this resource.
    name str
    Enter a location name.
    options CdnRuleOptionsArgs
    Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
    origin_group float
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    resource_id float
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule str
    Use regex to specify the location pattern to which the settings will be applied.
    weight float
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
    active Boolean
    Enable or disable the location.
    cdnRuleId String
    The ID of this resource.
    name String
    Enter a location name.
    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.
    originGroup Number
    Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
    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.
    resourceId Number
    Enter the CDN resource ID to which the Origin shielding should be applied.
    rule String
    Use regex to specify the location pattern to which the settings will be applied.
    weight Number
    Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.

    Supporting Types

    CdnRuleOptions, CdnRuleOptionsArgs

    AllowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Set a list of allowed HTTP methods for the CDN content.
    BrotliCompression CdnRuleOptionsBrotliCompression
    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.
    BrowserCacheSettings CdnRuleOptionsBrowserCacheSettings
    Set the cache lifetime for the end users’ browsers in seconds.
    Cors CdnRuleOptionsCors
    Add the Access-Control-Allow-Origin header to responses from the CDN servers.
    DisableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    EdgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
    FetchCompressed CdnRuleOptionsFetchCompressed
    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.
    FollowOriginRedirect CdnRuleOptionsFollowOriginRedirect
    If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
    ForceReturn CdnRuleOptionsForceReturn
    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.
    ForwardHostHeader CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGeoAcl
    Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
    GzipCompression CdnRuleOptionsGzipCompression
    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 CdnRuleOptionsHostHeader
    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.
    IgnoreCookie CdnRuleOptionsIgnoreCookie
    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).
    IgnoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
    IpAddressAcl CdnRuleOptionsIpAddressAcl
    Control access to content from the specified IP addresses.
    LimitBandwidth CdnRuleOptionsLimitBandwidth
    Control the download speed per connection.
    ProxyCacheMethodsSet CdnRuleOptionsProxyCacheMethodsSet
    Allow the caching for GET, HEAD, and POST requests.
    QueryParamsBlacklist CdnRuleOptionsQueryParamsBlacklist
    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.
    QueryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    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.
    RedirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    RedirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    ReferrerAcl CdnRuleOptionsReferrerAcl
    Сontrol access to content from the specified domain names.
    ResponseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Specify the HTTP headers set on the source that CDN servers should hide from the response.
    Rewrite CdnRuleOptionsRewrite
    Change and redirect the requests from the CDN to the source.
    SecureKey CdnRuleOptionsSecureKey
    Configure access to content with tokenized URLs, generated with the MD5 algorithm.
    Slice CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    Let CDN serve stale cached content in case of the source unavailability.
    StaticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
    StaticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    UserAgentAcl CdnRuleOptionsUserAgentAcl
    Control access to content for the specified user agents.
    Websockets CdnRuleOptionsWebsockets
    Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
    AllowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Set a list of allowed HTTP methods for the CDN content.
    BrotliCompression CdnRuleOptionsBrotliCompression
    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.
    BrowserCacheSettings CdnRuleOptionsBrowserCacheSettings
    Set the cache lifetime for the end users’ browsers in seconds.
    Cors CdnRuleOptionsCors
    Add the Access-Control-Allow-Origin header to responses from the CDN servers.
    DisableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    EdgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
    FetchCompressed CdnRuleOptionsFetchCompressed
    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.
    FollowOriginRedirect CdnRuleOptionsFollowOriginRedirect
    If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
    ForceReturn CdnRuleOptionsForceReturn
    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.
    ForwardHostHeader CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGeoAcl
    Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
    GzipCompression CdnRuleOptionsGzipCompression
    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 CdnRuleOptionsHostHeader
    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.
    IgnoreCookie CdnRuleOptionsIgnoreCookie
    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).
    IgnoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
    IpAddressAcl CdnRuleOptionsIpAddressAcl
    Control access to content from the specified IP addresses.
    LimitBandwidth CdnRuleOptionsLimitBandwidth
    Control the download speed per connection.
    ProxyCacheMethodsSet CdnRuleOptionsProxyCacheMethodsSet
    Allow the caching for GET, HEAD, and POST requests.
    QueryParamsBlacklist CdnRuleOptionsQueryParamsBlacklist
    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.
    QueryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    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.
    RedirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    RedirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    ReferrerAcl CdnRuleOptionsReferrerAcl
    Сontrol access to content from the specified domain names.
    ResponseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Specify the HTTP headers set on the source that CDN servers should hide from the response.
    Rewrite CdnRuleOptionsRewrite
    Change and redirect the requests from the CDN to the source.
    SecureKey CdnRuleOptionsSecureKey
    Configure access to content with tokenized URLs, generated with the MD5 algorithm.
    Slice CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    Let CDN serve stale cached content in case of the source unavailability.
    StaticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
    StaticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    UserAgentAcl CdnRuleOptionsUserAgentAcl
    Control access to content for the specified user agents.
    Websockets CdnRuleOptionsWebsockets
    Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
    allowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Set a list of allowed HTTP methods for the CDN content.
    brotliCompression CdnRuleOptionsBrotliCompression
    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.
    browserCacheSettings CdnRuleOptionsBrowserCacheSettings
    Set the cache lifetime for the end users’ browsers in seconds.
    cors CdnRuleOptionsCors
    Add the Access-Control-Allow-Origin header to responses from the CDN servers.
    disableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    edgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
    fetchCompressed CdnRuleOptionsFetchCompressed
    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.
    followOriginRedirect CdnRuleOptionsFollowOriginRedirect
    If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
    forceReturn CdnRuleOptionsForceReturn
    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.
    forwardHostHeader CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGeoAcl
    Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
    gzipCompression CdnRuleOptionsGzipCompression
    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 CdnRuleOptionsHostHeader
    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.
    ignoreCookie CdnRuleOptionsIgnoreCookie
    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).
    ignoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
    ipAddressAcl CdnRuleOptionsIpAddressAcl
    Control access to content from the specified IP addresses.
    limitBandwidth CdnRuleOptionsLimitBandwidth
    Control the download speed per connection.
    proxyCacheMethodsSet CdnRuleOptionsProxyCacheMethodsSet
    Allow the caching for GET, HEAD, and POST requests.
    queryParamsBlacklist CdnRuleOptionsQueryParamsBlacklist
    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.
    queryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    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.
    redirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    redirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    referrerAcl CdnRuleOptionsReferrerAcl
    Сontrol access to content from the specified domain names.
    responseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Specify the HTTP headers set on the source that CDN servers should hide from the response.
    rewrite CdnRuleOptionsRewrite
    Change and redirect the requests from the CDN to the source.
    secureKey CdnRuleOptionsSecureKey
    Configure access to content with tokenized URLs, generated with the MD5 algorithm.
    slice CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    Let CDN serve stale cached content in case of the source unavailability.
    staticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
    staticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    userAgentAcl CdnRuleOptionsUserAgentAcl
    Control access to content for the specified user agents.
    websockets CdnRuleOptionsWebsockets
    Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
    allowedHttpMethods CdnRuleOptionsAllowedHttpMethods
    Set a list of allowed HTTP methods for the CDN content.
    brotliCompression CdnRuleOptionsBrotliCompression
    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.
    browserCacheSettings CdnRuleOptionsBrowserCacheSettings
    Set the cache lifetime for the end users’ browsers in seconds.
    cors CdnRuleOptionsCors
    Add the Access-Control-Allow-Origin header to responses from the CDN servers.
    disableProxyForceRanges CdnRuleOptionsDisableProxyForceRanges
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    edgeCacheSettings CdnRuleOptionsEdgeCacheSettings
    Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
    fetchCompressed CdnRuleOptionsFetchCompressed
    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.
    followOriginRedirect CdnRuleOptionsFollowOriginRedirect
    If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
    forceReturn CdnRuleOptionsForceReturn
    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.
    forwardHostHeader CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGeoAcl
    Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
    gzipCompression CdnRuleOptionsGzipCompression
    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 CdnRuleOptionsHostHeader
    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.
    ignoreCookie CdnRuleOptionsIgnoreCookie
    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).
    ignoreQueryString CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
    ipAddressAcl CdnRuleOptionsIpAddressAcl
    Control access to content from the specified IP addresses.
    limitBandwidth CdnRuleOptionsLimitBandwidth
    Control the download speed per connection.
    proxyCacheMethodsSet CdnRuleOptionsProxyCacheMethodsSet
    Allow the caching for GET, HEAD, and POST requests.
    queryParamsBlacklist CdnRuleOptionsQueryParamsBlacklist
    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.
    queryParamsWhitelist CdnRuleOptionsQueryParamsWhitelist
    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.
    redirectHttpToHttps CdnRuleOptionsRedirectHttpToHttps
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    redirectHttpsToHttp CdnRuleOptionsRedirectHttpsToHttp
    Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    referrerAcl CdnRuleOptionsReferrerAcl
    Сontrol access to content from the specified domain names.
    responseHeadersHidingPolicy CdnRuleOptionsResponseHeadersHidingPolicy
    Specify the HTTP headers set on the source that CDN servers should hide from the response.
    rewrite CdnRuleOptionsRewrite
    Change and redirect the requests from the CDN to the source.
    secureKey CdnRuleOptionsSecureKey
    Configure access to content with tokenized URLs, generated with the MD5 algorithm.
    slice CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    Let CDN serve stale cached content in case of the source unavailability.
    staticRequestHeaders CdnRuleOptionsStaticRequestHeaders
    Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
    staticResponseHeaders CdnRuleOptionsStaticResponseHeaders
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    userAgentAcl CdnRuleOptionsUserAgentAcl
    Control access to content for the specified user agents.
    websockets CdnRuleOptionsWebsockets
    Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
    allowed_http_methods CdnRuleOptionsAllowedHttpMethods
    Set a list of allowed HTTP methods for the CDN content.
    brotli_compression CdnRuleOptionsBrotliCompression
    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_settings CdnRuleOptionsBrowserCacheSettings
    Set the cache lifetime for the end users’ browsers in seconds.
    cors CdnRuleOptionsCors
    Add the Access-Control-Allow-Origin header to responses from the CDN servers.
    disable_proxy_force_ranges CdnRuleOptionsDisableProxyForceRanges
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    edge_cache_settings CdnRuleOptionsEdgeCacheSettings
    Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
    fetch_compressed CdnRuleOptionsFetchCompressed
    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_redirect CdnRuleOptionsFollowOriginRedirect
    If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
    force_return CdnRuleOptionsForceReturn
    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_header CdnRuleOptionsForwardHostHeader
    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 CdnRuleOptionsGeoAcl
    Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
    gzip_compression CdnRuleOptionsGzipCompression
    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 CdnRuleOptionsHostHeader
    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.
    ignore_cookie CdnRuleOptionsIgnoreCookie
    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_string CdnRuleOptionsIgnoreQueryString
    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 CdnRuleOptionsImageStack
    Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
    ip_address_acl CdnRuleOptionsIpAddressAcl
    Control access to content from the specified IP addresses.
    limit_bandwidth CdnRuleOptionsLimitBandwidth
    Control the download speed per connection.
    proxy_cache_methods_set CdnRuleOptionsProxyCacheMethodsSet
    Allow the caching for GET, HEAD, and POST requests.
    query_params_blacklist CdnRuleOptionsQueryParamsBlacklist
    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_whitelist CdnRuleOptionsQueryParamsWhitelist
    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_to_https CdnRuleOptionsRedirectHttpToHttps
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    redirect_https_to_http CdnRuleOptionsRedirectHttpsToHttp
    Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    referrer_acl CdnRuleOptionsReferrerAcl
    Сontrol access to content from the specified domain names.
    response_headers_hiding_policy CdnRuleOptionsResponseHeadersHidingPolicy
    Specify the HTTP headers set on the source that CDN servers should hide from the response.
    rewrite CdnRuleOptionsRewrite
    Change and redirect the requests from the CDN to the source.
    secure_key CdnRuleOptionsSecureKey
    Configure access to content with tokenized URLs, generated with the MD5 algorithm.
    slice CdnRuleOptionsSlice
    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 CdnRuleOptionsSni
    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 CdnRuleOptionsStale
    Let CDN serve stale cached content in case of the source unavailability.
    static_request_headers CdnRuleOptionsStaticRequestHeaders
    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_headers CdnRuleOptionsStaticResponseHeaders
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    user_agent_acl CdnRuleOptionsUserAgentAcl
    Control access to content for the specified user agents.
    websockets CdnRuleOptionsWebsockets
    Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
    allowedHttpMethods Property Map
    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.
    browserCacheSettings Property Map
    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.
    disableProxyForceRanges Property Map
    Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
    edgeCacheSettings Property Map
    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.
    followOriginRedirect Property Map
    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.
    forwardHostHeader Property Map
    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.
    ignoreCookie 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).
    ignoreQueryString Property Map
    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.
    ipAddressAcl Property Map
    Control access to content from the specified IP addresses.
    limitBandwidth Property Map
    Control the download speed per connection.
    proxyCacheMethodsSet Property Map
    Allow the caching for GET, HEAD, and POST requests.
    queryParamsBlacklist Property Map
    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.
    queryParamsWhitelist Property Map
    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.
    redirectHttpToHttps Property Map
    Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
    redirectHttpsToHttp Property Map
    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.
    responseHeadersHidingPolicy Property Map
    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.
    staticRequestHeaders Property Map
    Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
    staticResponseHeaders Property Map
    Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
    userAgentAcl Property Map
    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.

    CdnRuleOptionsAllowedHttpMethods, CdnRuleOptionsAllowedHttpMethodsArgs

    Values List<string>
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Values []string
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values string[]
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values Sequence[str]
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Allowed values are "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", and "OPTIONS".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsBrotliCompression, CdnRuleOptionsBrotliCompressionArgs

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

    CdnRuleOptionsBrowserCacheSettings, CdnRuleOptionsBrowserCacheSettingsArgs

    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.

    CdnRuleOptionsCors, CdnRuleOptionsCorsArgs

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

    CdnRuleOptionsDisableProxyForceRanges, CdnRuleOptionsDisableProxyForceRangesArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsEdgeCacheSettings, CdnRuleOptionsEdgeCacheSettingsArgs

    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.

    CdnRuleOptionsFetchCompressed, CdnRuleOptionsFetchCompressedArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsFollowOriginRedirect, CdnRuleOptionsFollowOriginRedirectArgs

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

    CdnRuleOptionsForceReturn, CdnRuleOptionsForceReturnArgs

    Code double
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    Body string
    Add the URL for redirection or the text message.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Code float64
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    Body string
    Add the URL for redirection or the text message.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    code Double
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    body String
    Add the URL for redirection or the text message.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    code number
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    body string
    Add the URL for redirection or the text message.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    code float
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    body str
    Add the URL for redirection or the text message.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    code Number
    Set the HTTP status code that should be returned by the CDN. Allowed values are from "100" to "599".
    body String
    Add the URL for redirection or the text message.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsForwardHostHeader, CdnRuleOptionsForwardHostHeaderArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsGeoAcl, CdnRuleOptionsGeoAclArgs

    ExceptedValues List<CdnRuleOptionsGeoAclExceptedValue>
    List of exceptions to the default policy.
    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 []CdnRuleOptionsGeoAclExceptedValue
    List of exceptions to the default policy.
    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<CdnRuleOptionsGeoAclExceptedValue>
    List of exceptions to the default policy.
    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 CdnRuleOptionsGeoAclExceptedValue[]
    List of exceptions to the default policy.
    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[CdnRuleOptionsGeoAclExceptedValue]
    List of exceptions to the default policy.
    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>
    List of exceptions to the default policy.
    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.

    CdnRuleOptionsGeoAclExceptedValue, CdnRuleOptionsGeoAclExceptedValueArgs

    Key string
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    Values List<string>
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').
    Key string
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    Values []string
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').
    key String
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    values List<String>
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').
    key string
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    values string[]
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').
    key str
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    values Sequence[str]
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').
    key String
    Two-letter country code as defined by ISO 3166-1 alpha-2 (e.g., 'US' for United States, 'RU' for Russia).
    values List<String>
    List of region codes for the specified country, using short English names from ISO 3166-2 (e.g., 'CA' for California in 'US', 'MOW' for Moscow in 'RU').

    CdnRuleOptionsGzipCompression, CdnRuleOptionsGzipCompressionArgs

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

    CdnRuleOptionsHostHeader, CdnRuleOptionsHostHeaderArgs

    Value string
    Specify the Host header value.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value string
    Specify the Host header value.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value String
    Specify the Host header value.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value string
    Specify the Host header value.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value str
    Specify the Host header value.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value String
    Specify the Host header value.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsIgnoreCookie, CdnRuleOptionsIgnoreCookieArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsIgnoreQueryString, CdnRuleOptionsIgnoreQueryStringArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false". If set to "true", Ignore all setting is selected.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsImageStack, CdnRuleOptionsImageStackArgs

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

    CdnRuleOptionsIpAddressAcl, CdnRuleOptionsIpAddressAclArgs

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

    CdnRuleOptionsLimitBandwidth, CdnRuleOptionsLimitBandwidthArgs

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

    CdnRuleOptionsProxyCacheMethodsSet, CdnRuleOptionsProxyCacheMethodsSetArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsQueryParamsBlacklist, CdnRuleOptionsQueryParamsBlacklistArgs

    Values List<string>
    Add the list of params that should be ignored.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Values []string
    Add the list of params that should be ignored.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add the list of params that should be ignored.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values string[]
    Add the list of params that should be ignored.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values Sequence[str]
    Add the list of params that should be ignored.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add the list of params that should be ignored.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsQueryParamsWhitelist, CdnRuleOptionsQueryParamsWhitelistArgs

    Values List<string>
    Add the list of params that should not be ignored.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Values []string
    Add the list of params that should not be ignored.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add the list of params that should not be ignored.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values string[]
    Add the list of params that should not be ignored.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values Sequence[str]
    Add the list of params that should not be ignored.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add the list of params that should not be ignored.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsRedirectHttpToHttps, CdnRuleOptionsRedirectHttpToHttpsArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsRedirectHttpsToHttp, CdnRuleOptionsRedirectHttpsToHttpArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsReferrerAcl, CdnRuleOptionsReferrerAclArgs

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

    CdnRuleOptionsResponseHeadersHidingPolicy, CdnRuleOptionsResponseHeadersHidingPolicyArgs

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

    CdnRuleOptionsRewrite, CdnRuleOptionsRewriteArgs

    Body string
    Specify the rewrite pattern.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Flag string
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".
    Body string
    Specify the rewrite pattern.
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Flag string
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".
    body String
    Specify the rewrite pattern.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    flag String
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".
    body string
    Specify the rewrite pattern.
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    flag string
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".
    body str
    Specify the rewrite pattern.
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    flag str
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".
    body String
    Specify the rewrite pattern.
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    flag String
    Specify a rewrite flag type. Allowed values are "last", "break", "redirect", or "permanent".

    CdnRuleOptionsSecureKey, CdnRuleOptionsSecureKeyArgs

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

    CdnRuleOptionsSlice, CdnRuleOptionsSliceArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsSni, CdnRuleOptionsSniArgs

    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.

    CdnRuleOptionsStale, CdnRuleOptionsStaleArgs

    Values List<string>
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Values []string
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values string[]
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    values Sequence[str]
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    values List<String>
    Add a list of errors. Allowed values are "error", "http403", "http404", "http429", "http500", "http502", "http503", "http504", "invalidheader", "timeout", "updating".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    CdnRuleOptionsStaticRequestHeaders, CdnRuleOptionsStaticRequestHeadersArgs

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

    CdnRuleOptionsStaticResponseHeaders, CdnRuleOptionsStaticResponseHeadersArgs

    Values List<CdnRuleOptionsStaticResponseHeadersValue>
    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 []CdnRuleOptionsStaticResponseHeadersValue
    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<CdnRuleOptionsStaticResponseHeadersValue>
    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 CdnRuleOptionsStaticResponseHeadersValue[]
    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[CdnRuleOptionsStaticResponseHeadersValue]
    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".

    CdnRuleOptionsStaticResponseHeadersValue, CdnRuleOptionsStaticResponseHeadersValueArgs

    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.

    CdnRuleOptionsUserAgentAcl, CdnRuleOptionsUserAgentAclArgs

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

    CdnRuleOptionsWebsockets, CdnRuleOptionsWebsocketsArgs

    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    Value bool
    Set the value of the option. Allowed values are "true" or "false".
    Enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled boolean
    Enable or disable the option. Allowed values are "true" or "false".
    value bool
    Set the value of the option. Allowed values are "true" or "false".
    enabled bool
    Enable or disable the option. Allowed values are "true" or "false".
    value Boolean
    Set the value of the option. Allowed values are "true" or "false".
    enabled Boolean
    Enable or disable the option. Allowed values are "true" or "false".

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center