1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CdnDomain
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.CdnDomain

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a CDN domain.

    NOTE: To disable most of configuration with switch, just modify switch argument to off instead of remove the whole block

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CdnDomain("foo", {
        area: "mainland",
        domain: "xxxx.com",
        fullUrlCache: false,
        httpsConfig: {
            forceRedirect: {
                redirectStatusCode: 302,
                redirectType: "http",
                "switch": "on",
            },
            http2Switch: "off",
            httpsSwitch: "off",
            ocspStaplingSwitch: "off",
            spdySwitch: "off",
            verifyClient: "off",
        },
        origin: {
            originLists: ["127.0.0.1"],
            originPullProtocol: "follow",
            originType: "ip",
        },
        serviceType: "web",
        tags: {
            hello: "world",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CdnDomain("foo",
        area="mainland",
        domain="xxxx.com",
        full_url_cache=False,
        https_config={
            "force_redirect": {
                "redirect_status_code": 302,
                "redirect_type": "http",
                "switch": "on",
            },
            "http2_switch": "off",
            "https_switch": "off",
            "ocsp_stapling_switch": "off",
            "spdy_switch": "off",
            "verify_client": "off",
        },
        origin={
            "origin_lists": ["127.0.0.1"],
            "origin_pull_protocol": "follow",
            "origin_type": "ip",
        },
        service_type="web",
        tags={
            "hello": "world",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCdnDomain(ctx, "foo", &tencentcloud.CdnDomainArgs{
    			Area:         pulumi.String("mainland"),
    			Domain:       pulumi.String("xxxx.com"),
    			FullUrlCache: pulumi.Bool(false),
    			HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
    				ForceRedirect: &tencentcloud.CdnDomainHttpsConfigForceRedirectArgs{
    					RedirectStatusCode: pulumi.Float64(302),
    					RedirectType:       pulumi.String("http"),
    					Switch:             pulumi.String("on"),
    				},
    				Http2Switch:        pulumi.String("off"),
    				HttpsSwitch:        pulumi.String("off"),
    				OcspStaplingSwitch: pulumi.String("off"),
    				SpdySwitch:         pulumi.String("off"),
    				VerifyClient:       pulumi.String("off"),
    			},
    			Origin: &tencentcloud.CdnDomainOriginArgs{
    				OriginLists: pulumi.StringArray{
    					pulumi.String("127.0.0.1"),
    				},
    				OriginPullProtocol: pulumi.String("follow"),
    				OriginType:         pulumi.String("ip"),
    			},
    			ServiceType: pulumi.String("web"),
    			Tags: pulumi.StringMap{
    				"hello": pulumi.String("world"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CdnDomain("foo", new()
        {
            Area = "mainland",
            Domain = "xxxx.com",
            FullUrlCache = false,
            HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
            {
                ForceRedirect = new Tencentcloud.Inputs.CdnDomainHttpsConfigForceRedirectArgs
                {
                    RedirectStatusCode = 302,
                    RedirectType = "http",
                    Switch = "on",
                },
                Http2Switch = "off",
                HttpsSwitch = "off",
                OcspStaplingSwitch = "off",
                SpdySwitch = "off",
                VerifyClient = "off",
            },
            Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
            {
                OriginLists = new[]
                {
                    "127.0.0.1",
                },
                OriginPullProtocol = "follow",
                OriginType = "ip",
            },
            ServiceType = "web",
            Tags = 
            {
                { "hello", "world" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CdnDomain;
    import com.pulumi.tencentcloud.CdnDomainArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigForceRedirectArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CdnDomain("foo", CdnDomainArgs.builder()
                .area("mainland")
                .domain("xxxx.com")
                .fullUrlCache(false)
                .httpsConfig(CdnDomainHttpsConfigArgs.builder()
                    .forceRedirect(CdnDomainHttpsConfigForceRedirectArgs.builder()
                        .redirectStatusCode(302)
                        .redirectType("http")
                        .switch_("on")
                        .build())
                    .http2Switch("off")
                    .httpsSwitch("off")
                    .ocspStaplingSwitch("off")
                    .spdySwitch("off")
                    .verifyClient("off")
                    .build())
                .origin(CdnDomainOriginArgs.builder()
                    .originLists("127.0.0.1")
                    .originPullProtocol("follow")
                    .originType("ip")
                    .build())
                .serviceType("web")
                .tags(Map.of("hello", "world"))
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CdnDomain
        properties:
          area: mainland
          domain: xxxx.com
          fullUrlCache: false
          httpsConfig:
            forceRedirect:
              redirectStatusCode: 302
              redirectType: http
              switch: on
            http2Switch: off
            httpsSwitch: off
            ocspStaplingSwitch: off
            spdySwitch: off
            verifyClient: off
          origin:
            originLists:
              - 127.0.0.1
            originPullProtocol: follow
            originType: ip
          serviceType: web
          tags:
            hello: world
    

    Example Usage of cdn uses cache and request headers

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = new tencentcloud.CdnDomain("foo", {
        area: "mainland",
        cacheKey: {
            fullUrlCache: "on",
        },
        domain: "xxxx.com",
        httpsConfig: {
            forceRedirect: {
                redirectStatusCode: 302,
                redirectType: "http",
                "switch": "on",
            },
            http2Switch: "off",
            httpsSwitch: "off",
            ocspStaplingSwitch: "off",
            spdySwitch: "off",
            verifyClient: "off",
        },
        origin: {
            originLists: ["127.0.0.1"],
            originPullProtocol: "follow",
            originType: "ip",
        },
        rangeOriginSwitch: "off",
        requestHeader: {
            headerRules: [{
                headerMode: "add",
                headerName: "tf-header-name",
                headerValue: "tf-header-value",
                rulePaths: ["*"],
                ruleType: "all",
            }],
            "switch": "on",
        },
        ruleCaches: [{
            cacheTime: 10000,
            noCacheSwitch: "on",
            reValidate: "on",
        }],
        serviceType: "web",
        tags: {
            hello: "world",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.CdnDomain("foo",
        area="mainland",
        cache_key={
            "full_url_cache": "on",
        },
        domain="xxxx.com",
        https_config={
            "force_redirect": {
                "redirect_status_code": 302,
                "redirect_type": "http",
                "switch": "on",
            },
            "http2_switch": "off",
            "https_switch": "off",
            "ocsp_stapling_switch": "off",
            "spdy_switch": "off",
            "verify_client": "off",
        },
        origin={
            "origin_lists": ["127.0.0.1"],
            "origin_pull_protocol": "follow",
            "origin_type": "ip",
        },
        range_origin_switch="off",
        request_header={
            "header_rules": [{
                "header_mode": "add",
                "header_name": "tf-header-name",
                "header_value": "tf-header-value",
                "rule_paths": ["*"],
                "rule_type": "all",
            }],
            "switch": "on",
        },
        rule_caches=[{
            "cache_time": 10000,
            "no_cache_switch": "on",
            "re_validate": "on",
        }],
        service_type="web",
        tags={
            "hello": "world",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewCdnDomain(ctx, "foo", &tencentcloud.CdnDomainArgs{
    			Area: pulumi.String("mainland"),
    			CacheKey: &tencentcloud.CdnDomainCacheKeyArgs{
    				FullUrlCache: pulumi.String("on"),
    			},
    			Domain: pulumi.String("xxxx.com"),
    			HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
    				ForceRedirect: &tencentcloud.CdnDomainHttpsConfigForceRedirectArgs{
    					RedirectStatusCode: pulumi.Float64(302),
    					RedirectType:       pulumi.String("http"),
    					Switch:             pulumi.String("on"),
    				},
    				Http2Switch:        pulumi.String("off"),
    				HttpsSwitch:        pulumi.String("off"),
    				OcspStaplingSwitch: pulumi.String("off"),
    				SpdySwitch:         pulumi.String("off"),
    				VerifyClient:       pulumi.String("off"),
    			},
    			Origin: &tencentcloud.CdnDomainOriginArgs{
    				OriginLists: pulumi.StringArray{
    					pulumi.String("127.0.0.1"),
    				},
    				OriginPullProtocol: pulumi.String("follow"),
    				OriginType:         pulumi.String("ip"),
    			},
    			RangeOriginSwitch: pulumi.String("off"),
    			RequestHeader: &tencentcloud.CdnDomainRequestHeaderArgs{
    				HeaderRules: tencentcloud.CdnDomainRequestHeaderHeaderRuleArray{
    					&tencentcloud.CdnDomainRequestHeaderHeaderRuleArgs{
    						HeaderMode:  pulumi.String("add"),
    						HeaderName:  pulumi.String("tf-header-name"),
    						HeaderValue: pulumi.String("tf-header-value"),
    						RulePaths: pulumi.StringArray{
    							pulumi.String("*"),
    						},
    						RuleType: pulumi.String("all"),
    					},
    				},
    				Switch: pulumi.String("on"),
    			},
    			RuleCaches: tencentcloud.CdnDomainRuleCachArray{
    				&tencentcloud.CdnDomainRuleCachArgs{
    					CacheTime:     pulumi.Float64(10000),
    					NoCacheSwitch: pulumi.String("on"),
    					ReValidate:    pulumi.String("on"),
    				},
    			},
    			ServiceType: pulumi.String("web"),
    			Tags: pulumi.StringMap{
    				"hello": pulumi.String("world"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Tencentcloud.CdnDomain("foo", new()
        {
            Area = "mainland",
            CacheKey = new Tencentcloud.Inputs.CdnDomainCacheKeyArgs
            {
                FullUrlCache = "on",
            },
            Domain = "xxxx.com",
            HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
            {
                ForceRedirect = new Tencentcloud.Inputs.CdnDomainHttpsConfigForceRedirectArgs
                {
                    RedirectStatusCode = 302,
                    RedirectType = "http",
                    Switch = "on",
                },
                Http2Switch = "off",
                HttpsSwitch = "off",
                OcspStaplingSwitch = "off",
                SpdySwitch = "off",
                VerifyClient = "off",
            },
            Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
            {
                OriginLists = new[]
                {
                    "127.0.0.1",
                },
                OriginPullProtocol = "follow",
                OriginType = "ip",
            },
            RangeOriginSwitch = "off",
            RequestHeader = new Tencentcloud.Inputs.CdnDomainRequestHeaderArgs
            {
                HeaderRules = new[]
                {
                    new Tencentcloud.Inputs.CdnDomainRequestHeaderHeaderRuleArgs
                    {
                        HeaderMode = "add",
                        HeaderName = "tf-header-name",
                        HeaderValue = "tf-header-value",
                        RulePaths = new[]
                        {
                            "*",
                        },
                        RuleType = "all",
                    },
                },
                Switch = "on",
            },
            RuleCaches = new[]
            {
                new Tencentcloud.Inputs.CdnDomainRuleCachArgs
                {
                    CacheTime = 10000,
                    NoCacheSwitch = "on",
                    ReValidate = "on",
                },
            },
            ServiceType = "web",
            Tags = 
            {
                { "hello", "world" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CdnDomain;
    import com.pulumi.tencentcloud.CdnDomainArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainCacheKeyArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigForceRedirectArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainRequestHeaderArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainRuleCachArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new CdnDomain("foo", CdnDomainArgs.builder()
                .area("mainland")
                .cacheKey(CdnDomainCacheKeyArgs.builder()
                    .fullUrlCache("on")
                    .build())
                .domain("xxxx.com")
                .httpsConfig(CdnDomainHttpsConfigArgs.builder()
                    .forceRedirect(CdnDomainHttpsConfigForceRedirectArgs.builder()
                        .redirectStatusCode(302)
                        .redirectType("http")
                        .switch_("on")
                        .build())
                    .http2Switch("off")
                    .httpsSwitch("off")
                    .ocspStaplingSwitch("off")
                    .spdySwitch("off")
                    .verifyClient("off")
                    .build())
                .origin(CdnDomainOriginArgs.builder()
                    .originLists("127.0.0.1")
                    .originPullProtocol("follow")
                    .originType("ip")
                    .build())
                .rangeOriginSwitch("off")
                .requestHeader(CdnDomainRequestHeaderArgs.builder()
                    .headerRules(CdnDomainRequestHeaderHeaderRuleArgs.builder()
                        .headerMode("add")
                        .headerName("tf-header-name")
                        .headerValue("tf-header-value")
                        .rulePaths("*")
                        .ruleType("all")
                        .build())
                    .switch_("on")
                    .build())
                .ruleCaches(CdnDomainRuleCachArgs.builder()
                    .cacheTime(10000)
                    .noCacheSwitch("on")
                    .reValidate("on")
                    .build())
                .serviceType("web")
                .tags(Map.of("hello", "world"))
                .build());
    
        }
    }
    
    resources:
      foo:
        type: tencentcloud:CdnDomain
        properties:
          area: mainland
          # full_url_cache = true # Deprecated, use cache_key below.
          cacheKey:
            fullUrlCache: on
          domain: xxxx.com
          httpsConfig:
            forceRedirect:
              redirectStatusCode: 302
              redirectType: http
              switch: on
            http2Switch: off
            httpsSwitch: off
            ocspStaplingSwitch: off
            spdySwitch: off
            verifyClient: off
          origin:
            originLists:
              - 127.0.0.1
            originPullProtocol: follow
            originType: ip
          rangeOriginSwitch: off
          requestHeader:
            headerRules:
              - headerMode: add
                headerName: tf-header-name
                headerValue: tf-header-value
                rulePaths:
                  - '*'
                ruleType: all
            switch: on
          ruleCaches:
            - cacheTime: 10000
              noCacheSwitch: on
              reValidate: on
          serviceType: web
          tags:
            hello: world
    

    Example Usage of COS bucket url as origin

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const bucket = new tencentcloud.CosBucket("bucket", {
        bucket: "demo-bucket-1251234567",
        acl: "private",
    });
    // Create cdn domain
    const cdn = new tencentcloud.CdnDomain("cdn", {
        domain: "abc.com",
        serviceType: "web",
        area: "mainland",
        cacheKey: {
            fullUrlCache: "off",
        },
        origin: {
            originType: "cos",
            originLists: [bucket.cosBucketUrl],
            serverName: bucket.cosBucketUrl,
            originPullProtocol: "follow",
            cosPrivateAccess: "on",
        },
        httpsConfig: {
            httpsSwitch: "off",
            http2Switch: "off",
            ocspStaplingSwitch: "off",
            spdySwitch: "off",
            verifyClient: "off",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    bucket = tencentcloud.CosBucket("bucket",
        bucket="demo-bucket-1251234567",
        acl="private")
    # Create cdn domain
    cdn = tencentcloud.CdnDomain("cdn",
        domain="abc.com",
        service_type="web",
        area="mainland",
        cache_key={
            "full_url_cache": "off",
        },
        origin={
            "origin_type": "cos",
            "origin_lists": [bucket.cos_bucket_url],
            "server_name": bucket.cos_bucket_url,
            "origin_pull_protocol": "follow",
            "cos_private_access": "on",
        },
        https_config={
            "https_switch": "off",
            "http2_switch": "off",
            "ocsp_stapling_switch": "off",
            "spdy_switch": "off",
            "verify_client": "off",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		bucket, err := tencentcloud.NewCosBucket(ctx, "bucket", &tencentcloud.CosBucketArgs{
    			Bucket: pulumi.String("demo-bucket-1251234567"),
    			Acl:    pulumi.String("private"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create cdn domain
    		_, err = tencentcloud.NewCdnDomain(ctx, "cdn", &tencentcloud.CdnDomainArgs{
    			Domain:      pulumi.String("abc.com"),
    			ServiceType: pulumi.String("web"),
    			Area:        pulumi.String("mainland"),
    			CacheKey: &tencentcloud.CdnDomainCacheKeyArgs{
    				FullUrlCache: pulumi.String("off"),
    			},
    			Origin: &tencentcloud.CdnDomainOriginArgs{
    				OriginType: pulumi.String("cos"),
    				OriginLists: pulumi.StringArray{
    					bucket.CosBucketUrl,
    				},
    				ServerName:         bucket.CosBucketUrl,
    				OriginPullProtocol: pulumi.String("follow"),
    				CosPrivateAccess:   pulumi.String("on"),
    			},
    			HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
    				HttpsSwitch:        pulumi.String("off"),
    				Http2Switch:        pulumi.String("off"),
    				OcspStaplingSwitch: pulumi.String("off"),
    				SpdySwitch:         pulumi.String("off"),
    				VerifyClient:       pulumi.String("off"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var bucket = new Tencentcloud.CosBucket("bucket", new()
        {
            Bucket = "demo-bucket-1251234567",
            Acl = "private",
        });
    
        // Create cdn domain
        var cdn = new Tencentcloud.CdnDomain("cdn", new()
        {
            Domain = "abc.com",
            ServiceType = "web",
            Area = "mainland",
            CacheKey = new Tencentcloud.Inputs.CdnDomainCacheKeyArgs
            {
                FullUrlCache = "off",
            },
            Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
            {
                OriginType = "cos",
                OriginLists = new[]
                {
                    bucket.CosBucketUrl,
                },
                ServerName = bucket.CosBucketUrl,
                OriginPullProtocol = "follow",
                CosPrivateAccess = "on",
            },
            HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
            {
                HttpsSwitch = "off",
                Http2Switch = "off",
                OcspStaplingSwitch = "off",
                SpdySwitch = "off",
                VerifyClient = "off",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CosBucket;
    import com.pulumi.tencentcloud.CosBucketArgs;
    import com.pulumi.tencentcloud.CdnDomain;
    import com.pulumi.tencentcloud.CdnDomainArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainCacheKeyArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
    import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var bucket = new CosBucket("bucket", CosBucketArgs.builder()
                .bucket("demo-bucket-1251234567")
                .acl("private")
                .build());
    
            // Create cdn domain
            var cdn = new CdnDomain("cdn", CdnDomainArgs.builder()
                .domain("abc.com")
                .serviceType("web")
                .area("mainland")
                .cacheKey(CdnDomainCacheKeyArgs.builder()
                    .fullUrlCache("off")
                    .build())
                .origin(CdnDomainOriginArgs.builder()
                    .originType("cos")
                    .originLists(bucket.cosBucketUrl())
                    .serverName(bucket.cosBucketUrl())
                    .originPullProtocol("follow")
                    .cosPrivateAccess("on")
                    .build())
                .httpsConfig(CdnDomainHttpsConfigArgs.builder()
                    .httpsSwitch("off")
                    .http2Switch("off")
                    .ocspStaplingSwitch("off")
                    .spdySwitch("off")
                    .verifyClient("off")
                    .build())
                .build());
    
        }
    }
    
    resources:
      bucket:
        type: tencentcloud:CosBucket
        properties:
          # Bucket format should be [custom name]-[appid].
          bucket: demo-bucket-1251234567
          acl: private
      # Create cdn domain
      cdn:
        type: tencentcloud:CdnDomain
        properties:
          domain: abc.com
          serviceType: web
          area: mainland
          cacheKey:
            fullUrlCache: off
          origin:
            originType: cos
            originLists:
              - ${bucket.cosBucketUrl}
            serverName: ${bucket.cosBucketUrl}
            originPullProtocol: follow
            cosPrivateAccess: on
          httpsConfig:
            httpsSwitch: off
            http2Switch: off
            ocspStaplingSwitch: off
            spdySwitch: off
            verifyClient: off
    

    Create CdnDomain Resource

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

    Constructor syntax

    new CdnDomain(name: string, args: CdnDomainArgs, opts?: CustomResourceOptions);
    @overload
    def CdnDomain(resource_name: str,
                  args: CdnDomainArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnDomain(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  domain: Optional[str] = None,
                  service_type: Optional[str] = None,
                  origin: Optional[CdnDomainOriginArgs] = None,
                  explicit_using_dry_run: Optional[bool] = None,
                  offline_cache_switch: Optional[str] = None,
                  cdn_domain_id: Optional[str] = None,
                  compression: Optional[CdnDomainCompressionArgs] = None,
                  band_width_alert: Optional[CdnDomainBandWidthAlertArgs] = None,
                  downstream_capping: Optional[CdnDomainDownstreamCappingArgs] = None,
                  error_page: Optional[CdnDomainErrorPageArgs] = None,
                  area: Optional[str] = None,
                  follow_redirect_switch: Optional[str] = None,
                  full_url_cache: Optional[bool] = None,
                  https_config: Optional[CdnDomainHttpsConfigArgs] = None,
                  hw_private_access: Optional[CdnDomainHwPrivateAccessArgs] = None,
                  ip_filter: Optional[CdnDomainIpFilterArgs] = None,
                  ip_freq_limit: Optional[CdnDomainIpFreqLimitArgs] = None,
                  ipv6_access_switch: Optional[str] = None,
                  max_age: Optional[CdnDomainMaxAgeArgs] = None,
                  origin_pull_timeout: Optional[CdnDomainOriginPullTimeoutArgs] = None,
                  aws_private_access: Optional[CdnDomainAwsPrivateAccessArgs] = None,
                  cache_key: Optional[CdnDomainCacheKeyArgs] = None,
                  origin_pull_optimization: Optional[CdnDomainOriginPullOptimizationArgs] = None,
                  project_id: Optional[float] = None,
                  others_private_access: Optional[CdnDomainOthersPrivateAccessArgs] = None,
                  post_max_sizes: Optional[Sequence[CdnDomainPostMaxSizeArgs]] = None,
                  oss_private_access: Optional[CdnDomainOssPrivateAccessArgs] = None,
                  qn_private_access: Optional[CdnDomainQnPrivateAccessArgs] = None,
                  quic_switch: Optional[str] = None,
                  range_origin_switch: Optional[str] = None,
                  referer: Optional[CdnDomainRefererArgs] = None,
                  request_header: Optional[CdnDomainRequestHeaderArgs] = None,
                  response_header: Optional[CdnDomainResponseHeaderArgs] = None,
                  response_header_cache_switch: Optional[str] = None,
                  rule_caches: Optional[Sequence[CdnDomainRuleCachArgs]] = None,
                  seo_switch: Optional[str] = None,
                  authentication: Optional[CdnDomainAuthenticationArgs] = None,
                  specific_config_mainland: Optional[str] = None,
                  specific_config_overseas: Optional[str] = None,
                  status_code_cache: Optional[CdnDomainStatusCodeCacheArgs] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  video_seek_switch: Optional[str] = None)
    func NewCdnDomain(ctx *Context, name string, args CdnDomainArgs, opts ...ResourceOption) (*CdnDomain, error)
    public CdnDomain(string name, CdnDomainArgs args, CustomResourceOptions? opts = null)
    public CdnDomain(String name, CdnDomainArgs args)
    public CdnDomain(String name, CdnDomainArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CdnDomain
    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 CdnDomainArgs
    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 CdnDomainArgs
    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 CdnDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Domain string
    Name of the acceleration domain.
    Origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    ServiceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    Area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    Authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    AwsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    BandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    CacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    CdnDomainId string
    ID of the resource.
    Compression CdnDomainCompression
    Smart compression configurations.
    DownstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    ErrorPage CdnDomainErrorPage
    Error page configurations.
    ExplicitUsingDryRun bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    FollowRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    FullUrlCache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    HttpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    HwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    IpFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    IpFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    Ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    MaxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    OfflineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    OriginPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    OriginPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    OssPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    OthersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    PostMaxSizes List<CdnDomainPostMaxSize>
    Maximum post size configuration.
    ProjectId double
    The project CDN belongs to, default to 0.
    QnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    QuicSwitch string
    QUIC switch, available values: on, off (default).
    RangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    Referer CdnDomainReferer
    Referer configuration.
    RequestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    ResponseHeader CdnDomainResponseHeader
    Response header configurations.
    ResponseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    RuleCaches List<CdnDomainRuleCach>
    Advanced path cache configuration.
    SeoSwitch string
    SEO switch, available values: on, off (default).
    SpecificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    SpecificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    StatusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    Tags Dictionary<string, string>
    Tags of cdn domain.
    VideoSeekSwitch string
    Video seek switch, available values: on, off (default).
    Domain string
    Name of the acceleration domain.
    Origin CdnDomainOriginArgs
    Origin server configuration. It's a list and consist of at most one item.
    ServiceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    Area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    Authentication CdnDomainAuthenticationArgs
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    AwsPrivateAccess CdnDomainAwsPrivateAccessArgs
    Access authentication for S3 origin.
    BandWidthAlert CdnDomainBandWidthAlertArgs
    Bandwidth cap configuration.
    CacheKey CdnDomainCacheKeyArgs
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    CdnDomainId string
    ID of the resource.
    Compression CdnDomainCompressionArgs
    Smart compression configurations.
    DownstreamCapping CdnDomainDownstreamCappingArgs
    Downstream capping configuration.
    ErrorPage CdnDomainErrorPageArgs
    Error page configurations.
    ExplicitUsingDryRun bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    FollowRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    FullUrlCache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    HttpsConfig CdnDomainHttpsConfigArgs
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    HwPrivateAccess CdnDomainHwPrivateAccessArgs
    Access authentication for OBS origin.
    IpFilter CdnDomainIpFilterArgs
    Specify Ip filter configurations.
    IpFreqLimit CdnDomainIpFreqLimitArgs
    Specify Ip frequency limit configurations.
    Ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    MaxAge CdnDomainMaxAgeArgs
    Browser cache configuration. (This feature is in beta and not generally available yet).
    OfflineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    OriginPullOptimization CdnDomainOriginPullOptimizationArgs
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    OriginPullTimeout CdnDomainOriginPullTimeoutArgs
    Cross-border linkage optimization configuration.
    OssPrivateAccess CdnDomainOssPrivateAccessArgs
    Access authentication for OSS origin.
    OthersPrivateAccess CdnDomainOthersPrivateAccessArgs
    Object storage back-to-source authentication of other vendors.
    PostMaxSizes []CdnDomainPostMaxSizeArgs
    Maximum post size configuration.
    ProjectId float64
    The project CDN belongs to, default to 0.
    QnPrivateAccess CdnDomainQnPrivateAccessArgs
    Access authentication for OBS origin.
    QuicSwitch string
    QUIC switch, available values: on, off (default).
    RangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    Referer CdnDomainRefererArgs
    Referer configuration.
    RequestHeader CdnDomainRequestHeaderArgs
    Request header configuration. It's a list and consist of at most one item.
    ResponseHeader CdnDomainResponseHeaderArgs
    Response header configurations.
    ResponseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    RuleCaches []CdnDomainRuleCachArgs
    Advanced path cache configuration.
    SeoSwitch string
    SEO switch, available values: on, off (default).
    SpecificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    SpecificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    StatusCodeCache CdnDomainStatusCodeCacheArgs
    Status code cache configurations.
    Tags map[string]string
    Tags of cdn domain.
    VideoSeekSwitch string
    Video seek switch, available values: on, off (default).
    domain String
    Name of the acceleration domain.
    origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    serviceType String
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    area String
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    bandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    cacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId String
    ID of the resource.
    compression CdnDomainCompression
    Smart compression configurations.
    downstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    errorPage CdnDomainErrorPage
    Error page configurations.
    explicitUsingDryRun Boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch String
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache Boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    ipFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    ipFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch String
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch String
    Offline cache switch, available values: on, off (default).
    originPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    ossPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    othersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    postMaxSizes List<CdnDomainPostMaxSize>
    Maximum post size configuration.
    projectId Double
    The project CDN belongs to, default to 0.
    qnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    quicSwitch String
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch String
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainReferer
    Referer configuration.
    requestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    responseHeader CdnDomainResponseHeader
    Response header configurations.
    responseHeaderCacheSwitch String
    Response header cache switch, available values: on, off (default).
    ruleCaches List<CdnDomainRuleCach>
    Advanced path cache configuration.
    seoSwitch String
    SEO switch, available values: on, off (default).
    specificConfigMainland String
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas String
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    statusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    tags Map<String,String>
    Tags of cdn domain.
    videoSeekSwitch String
    Video seek switch, available values: on, off (default).
    domain string
    Name of the acceleration domain.
    origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    serviceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    bandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    cacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId string
    ID of the resource.
    compression CdnDomainCompression
    Smart compression configurations.
    downstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    errorPage CdnDomainErrorPage
    Error page configurations.
    explicitUsingDryRun boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    ipFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    ipFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    originPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    ossPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    othersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    postMaxSizes CdnDomainPostMaxSize[]
    Maximum post size configuration.
    projectId number
    The project CDN belongs to, default to 0.
    qnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    quicSwitch string
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainReferer
    Referer configuration.
    requestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    responseHeader CdnDomainResponseHeader
    Response header configurations.
    responseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    ruleCaches CdnDomainRuleCach[]
    Advanced path cache configuration.
    seoSwitch string
    SEO switch, available values: on, off (default).
    specificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    statusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    tags {[key: string]: string}
    Tags of cdn domain.
    videoSeekSwitch string
    Video seek switch, available values: on, off (default).
    domain str
    Name of the acceleration domain.
    origin CdnDomainOriginArgs
    Origin server configuration. It's a list and consist of at most one item.
    service_type str
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    area str
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthenticationArgs
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    aws_private_access CdnDomainAwsPrivateAccessArgs
    Access authentication for S3 origin.
    band_width_alert CdnDomainBandWidthAlertArgs
    Bandwidth cap configuration.
    cache_key CdnDomainCacheKeyArgs
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdn_domain_id str
    ID of the resource.
    compression CdnDomainCompressionArgs
    Smart compression configurations.
    downstream_capping CdnDomainDownstreamCappingArgs
    Downstream capping configuration.
    error_page CdnDomainErrorPageArgs
    Error page configurations.
    explicit_using_dry_run bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    follow_redirect_switch str
    301/302 redirect following switch, available values: on, off (default).
    full_url_cache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    https_config CdnDomainHttpsConfigArgs
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hw_private_access CdnDomainHwPrivateAccessArgs
    Access authentication for OBS origin.
    ip_filter CdnDomainIpFilterArgs
    Specify Ip filter configurations.
    ip_freq_limit CdnDomainIpFreqLimitArgs
    Specify Ip frequency limit configurations.
    ipv6_access_switch str
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    max_age CdnDomainMaxAgeArgs
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offline_cache_switch str
    Offline cache switch, available values: on, off (default).
    origin_pull_optimization CdnDomainOriginPullOptimizationArgs
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    origin_pull_timeout CdnDomainOriginPullTimeoutArgs
    Cross-border linkage optimization configuration.
    oss_private_access CdnDomainOssPrivateAccessArgs
    Access authentication for OSS origin.
    others_private_access CdnDomainOthersPrivateAccessArgs
    Object storage back-to-source authentication of other vendors.
    post_max_sizes Sequence[CdnDomainPostMaxSizeArgs]
    Maximum post size configuration.
    project_id float
    The project CDN belongs to, default to 0.
    qn_private_access CdnDomainQnPrivateAccessArgs
    Access authentication for OBS origin.
    quic_switch str
    QUIC switch, available values: on, off (default).
    range_origin_switch str
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainRefererArgs
    Referer configuration.
    request_header CdnDomainRequestHeaderArgs
    Request header configuration. It's a list and consist of at most one item.
    response_header CdnDomainResponseHeaderArgs
    Response header configurations.
    response_header_cache_switch str
    Response header cache switch, available values: on, off (default).
    rule_caches Sequence[CdnDomainRuleCachArgs]
    Advanced path cache configuration.
    seo_switch str
    SEO switch, available values: on, off (default).
    specific_config_mainland str
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specific_config_overseas str
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    status_code_cache CdnDomainStatusCodeCacheArgs
    Status code cache configurations.
    tags Mapping[str, str]
    Tags of cdn domain.
    video_seek_switch str
    Video seek switch, available values: on, off (default).
    domain String
    Name of the acceleration domain.
    origin Property Map
    Origin server configuration. It's a list and consist of at most one item.
    serviceType String
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    area String
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication Property Map
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess Property Map
    Access authentication for S3 origin.
    bandWidthAlert Property Map
    Bandwidth cap configuration.
    cacheKey Property Map
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId String
    ID of the resource.
    compression Property Map
    Smart compression configurations.
    downstreamCapping Property Map
    Downstream capping configuration.
    errorPage Property Map
    Error page configurations.
    explicitUsingDryRun Boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch String
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache Boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig Property Map
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess Property Map
    Access authentication for OBS origin.
    ipFilter Property Map
    Specify Ip filter configurations.
    ipFreqLimit Property Map
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch String
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge Property Map
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch String
    Offline cache switch, available values: on, off (default).
    originPullOptimization Property Map
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout Property Map
    Cross-border linkage optimization configuration.
    ossPrivateAccess Property Map
    Access authentication for OSS origin.
    othersPrivateAccess Property Map
    Object storage back-to-source authentication of other vendors.
    postMaxSizes List<Property Map>
    Maximum post size configuration.
    projectId Number
    The project CDN belongs to, default to 0.
    qnPrivateAccess Property Map
    Access authentication for OBS origin.
    quicSwitch String
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch String
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer Property Map
    Referer configuration.
    requestHeader Property Map
    Request header configuration. It's a list and consist of at most one item.
    responseHeader Property Map
    Response header configurations.
    responseHeaderCacheSwitch String
    Response header cache switch, available values: on, off (default).
    ruleCaches List<Property Map>
    Advanced path cache configuration.
    seoSwitch String
    SEO switch, available values: on, off (default).
    specificConfigMainland String
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas String
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    statusCodeCache Property Map
    Status code cache configurations.
    tags Map<String>
    Tags of cdn domain.
    videoSeekSwitch String
    Video seek switch, available values: on, off (default).

    Outputs

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

    Cname string
    CNAME address of domain name.
    CreateTime string
    Creation time of domain name.
    DryRunCreateResult string
    Used for store dry_run request json.
    DryRunUpdateResult string
    Used for store dry_run update request json.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Acceleration service status.
    Cname string
    CNAME address of domain name.
    CreateTime string
    Creation time of domain name.
    DryRunCreateResult string
    Used for store dry_run request json.
    DryRunUpdateResult string
    Used for store dry_run update request json.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Acceleration service status.
    cname String
    CNAME address of domain name.
    createTime String
    Creation time of domain name.
    dryRunCreateResult String
    Used for store dry_run request json.
    dryRunUpdateResult String
    Used for store dry_run update request json.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Acceleration service status.
    cname string
    CNAME address of domain name.
    createTime string
    Creation time of domain name.
    dryRunCreateResult string
    Used for store dry_run request json.
    dryRunUpdateResult string
    Used for store dry_run update request json.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Acceleration service status.
    cname str
    CNAME address of domain name.
    create_time str
    Creation time of domain name.
    dry_run_create_result str
    Used for store dry_run request json.
    dry_run_update_result str
    Used for store dry_run update request json.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Acceleration service status.
    cname String
    CNAME address of domain name.
    createTime String
    Creation time of domain name.
    dryRunCreateResult String
    Used for store dry_run request json.
    dryRunUpdateResult String
    Used for store dry_run update request json.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Acceleration service status.

    Look up Existing CdnDomain Resource

    Get an existing CdnDomain 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?: CdnDomainState, opts?: CustomResourceOptions): CdnDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            area: Optional[str] = None,
            authentication: Optional[CdnDomainAuthenticationArgs] = None,
            aws_private_access: Optional[CdnDomainAwsPrivateAccessArgs] = None,
            band_width_alert: Optional[CdnDomainBandWidthAlertArgs] = None,
            cache_key: Optional[CdnDomainCacheKeyArgs] = None,
            cdn_domain_id: Optional[str] = None,
            cname: Optional[str] = None,
            compression: Optional[CdnDomainCompressionArgs] = None,
            create_time: Optional[str] = None,
            domain: Optional[str] = None,
            downstream_capping: Optional[CdnDomainDownstreamCappingArgs] = None,
            dry_run_create_result: Optional[str] = None,
            dry_run_update_result: Optional[str] = None,
            error_page: Optional[CdnDomainErrorPageArgs] = None,
            explicit_using_dry_run: Optional[bool] = None,
            follow_redirect_switch: Optional[str] = None,
            full_url_cache: Optional[bool] = None,
            https_config: Optional[CdnDomainHttpsConfigArgs] = None,
            hw_private_access: Optional[CdnDomainHwPrivateAccessArgs] = None,
            ip_filter: Optional[CdnDomainIpFilterArgs] = None,
            ip_freq_limit: Optional[CdnDomainIpFreqLimitArgs] = None,
            ipv6_access_switch: Optional[str] = None,
            max_age: Optional[CdnDomainMaxAgeArgs] = None,
            offline_cache_switch: Optional[str] = None,
            origin: Optional[CdnDomainOriginArgs] = None,
            origin_pull_optimization: Optional[CdnDomainOriginPullOptimizationArgs] = None,
            origin_pull_timeout: Optional[CdnDomainOriginPullTimeoutArgs] = None,
            oss_private_access: Optional[CdnDomainOssPrivateAccessArgs] = None,
            others_private_access: Optional[CdnDomainOthersPrivateAccessArgs] = None,
            post_max_sizes: Optional[Sequence[CdnDomainPostMaxSizeArgs]] = None,
            project_id: Optional[float] = None,
            qn_private_access: Optional[CdnDomainQnPrivateAccessArgs] = None,
            quic_switch: Optional[str] = None,
            range_origin_switch: Optional[str] = None,
            referer: Optional[CdnDomainRefererArgs] = None,
            request_header: Optional[CdnDomainRequestHeaderArgs] = None,
            response_header: Optional[CdnDomainResponseHeaderArgs] = None,
            response_header_cache_switch: Optional[str] = None,
            rule_caches: Optional[Sequence[CdnDomainRuleCachArgs]] = None,
            seo_switch: Optional[str] = None,
            service_type: Optional[str] = None,
            specific_config_mainland: Optional[str] = None,
            specific_config_overseas: Optional[str] = None,
            status: Optional[str] = None,
            status_code_cache: Optional[CdnDomainStatusCodeCacheArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            video_seek_switch: Optional[str] = None) -> CdnDomain
    func GetCdnDomain(ctx *Context, name string, id IDInput, state *CdnDomainState, opts ...ResourceOption) (*CdnDomain, error)
    public static CdnDomain Get(string name, Input<string> id, CdnDomainState? state, CustomResourceOptions? opts = null)
    public static CdnDomain get(String name, Output<String> id, CdnDomainState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CdnDomain    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:
    Area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    Authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    AwsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    BandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    CacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    CdnDomainId string
    ID of the resource.
    Cname string
    CNAME address of domain name.
    Compression CdnDomainCompression
    Smart compression configurations.
    CreateTime string
    Creation time of domain name.
    Domain string
    Name of the acceleration domain.
    DownstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    DryRunCreateResult string
    Used for store dry_run request json.
    DryRunUpdateResult string
    Used for store dry_run update request json.
    ErrorPage CdnDomainErrorPage
    Error page configurations.
    ExplicitUsingDryRun bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    FollowRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    FullUrlCache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    HttpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    HwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    IpFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    IpFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    Ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    MaxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    OfflineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    Origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    OriginPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    OriginPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    OssPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    OthersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    PostMaxSizes List<CdnDomainPostMaxSize>
    Maximum post size configuration.
    ProjectId double
    The project CDN belongs to, default to 0.
    QnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    QuicSwitch string
    QUIC switch, available values: on, off (default).
    RangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    Referer CdnDomainReferer
    Referer configuration.
    RequestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    ResponseHeader CdnDomainResponseHeader
    Response header configurations.
    ResponseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    RuleCaches List<CdnDomainRuleCach>
    Advanced path cache configuration.
    SeoSwitch string
    SEO switch, available values: on, off (default).
    ServiceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    SpecificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    SpecificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    Status string
    Acceleration service status.
    StatusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    Tags Dictionary<string, string>
    Tags of cdn domain.
    VideoSeekSwitch string
    Video seek switch, available values: on, off (default).
    Area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    Authentication CdnDomainAuthenticationArgs
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    AwsPrivateAccess CdnDomainAwsPrivateAccessArgs
    Access authentication for S3 origin.
    BandWidthAlert CdnDomainBandWidthAlertArgs
    Bandwidth cap configuration.
    CacheKey CdnDomainCacheKeyArgs
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    CdnDomainId string
    ID of the resource.
    Cname string
    CNAME address of domain name.
    Compression CdnDomainCompressionArgs
    Smart compression configurations.
    CreateTime string
    Creation time of domain name.
    Domain string
    Name of the acceleration domain.
    DownstreamCapping CdnDomainDownstreamCappingArgs
    Downstream capping configuration.
    DryRunCreateResult string
    Used for store dry_run request json.
    DryRunUpdateResult string
    Used for store dry_run update request json.
    ErrorPage CdnDomainErrorPageArgs
    Error page configurations.
    ExplicitUsingDryRun bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    FollowRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    FullUrlCache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    HttpsConfig CdnDomainHttpsConfigArgs
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    HwPrivateAccess CdnDomainHwPrivateAccessArgs
    Access authentication for OBS origin.
    IpFilter CdnDomainIpFilterArgs
    Specify Ip filter configurations.
    IpFreqLimit CdnDomainIpFreqLimitArgs
    Specify Ip frequency limit configurations.
    Ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    MaxAge CdnDomainMaxAgeArgs
    Browser cache configuration. (This feature is in beta and not generally available yet).
    OfflineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    Origin CdnDomainOriginArgs
    Origin server configuration. It's a list and consist of at most one item.
    OriginPullOptimization CdnDomainOriginPullOptimizationArgs
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    OriginPullTimeout CdnDomainOriginPullTimeoutArgs
    Cross-border linkage optimization configuration.
    OssPrivateAccess CdnDomainOssPrivateAccessArgs
    Access authentication for OSS origin.
    OthersPrivateAccess CdnDomainOthersPrivateAccessArgs
    Object storage back-to-source authentication of other vendors.
    PostMaxSizes []CdnDomainPostMaxSizeArgs
    Maximum post size configuration.
    ProjectId float64
    The project CDN belongs to, default to 0.
    QnPrivateAccess CdnDomainQnPrivateAccessArgs
    Access authentication for OBS origin.
    QuicSwitch string
    QUIC switch, available values: on, off (default).
    RangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    Referer CdnDomainRefererArgs
    Referer configuration.
    RequestHeader CdnDomainRequestHeaderArgs
    Request header configuration. It's a list and consist of at most one item.
    ResponseHeader CdnDomainResponseHeaderArgs
    Response header configurations.
    ResponseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    RuleCaches []CdnDomainRuleCachArgs
    Advanced path cache configuration.
    SeoSwitch string
    SEO switch, available values: on, off (default).
    ServiceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    SpecificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    SpecificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    Status string
    Acceleration service status.
    StatusCodeCache CdnDomainStatusCodeCacheArgs
    Status code cache configurations.
    Tags map[string]string
    Tags of cdn domain.
    VideoSeekSwitch string
    Video seek switch, available values: on, off (default).
    area String
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    bandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    cacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId String
    ID of the resource.
    cname String
    CNAME address of domain name.
    compression CdnDomainCompression
    Smart compression configurations.
    createTime String
    Creation time of domain name.
    domain String
    Name of the acceleration domain.
    downstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    dryRunCreateResult String
    Used for store dry_run request json.
    dryRunUpdateResult String
    Used for store dry_run update request json.
    errorPage CdnDomainErrorPage
    Error page configurations.
    explicitUsingDryRun Boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch String
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache Boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    ipFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    ipFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch String
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch String
    Offline cache switch, available values: on, off (default).
    origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    originPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    ossPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    othersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    postMaxSizes List<CdnDomainPostMaxSize>
    Maximum post size configuration.
    projectId Double
    The project CDN belongs to, default to 0.
    qnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    quicSwitch String
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch String
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainReferer
    Referer configuration.
    requestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    responseHeader CdnDomainResponseHeader
    Response header configurations.
    responseHeaderCacheSwitch String
    Response header cache switch, available values: on, off (default).
    ruleCaches List<CdnDomainRuleCach>
    Advanced path cache configuration.
    seoSwitch String
    SEO switch, available values: on, off (default).
    serviceType String
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    specificConfigMainland String
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas String
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    status String
    Acceleration service status.
    statusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    tags Map<String,String>
    Tags of cdn domain.
    videoSeekSwitch String
    Video seek switch, available values: on, off (default).
    area string
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthentication
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess CdnDomainAwsPrivateAccess
    Access authentication for S3 origin.
    bandWidthAlert CdnDomainBandWidthAlert
    Bandwidth cap configuration.
    cacheKey CdnDomainCacheKey
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId string
    ID of the resource.
    cname string
    CNAME address of domain name.
    compression CdnDomainCompression
    Smart compression configurations.
    createTime string
    Creation time of domain name.
    domain string
    Name of the acceleration domain.
    downstreamCapping CdnDomainDownstreamCapping
    Downstream capping configuration.
    dryRunCreateResult string
    Used for store dry_run request json.
    dryRunUpdateResult string
    Used for store dry_run update request json.
    errorPage CdnDomainErrorPage
    Error page configurations.
    explicitUsingDryRun boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch string
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig CdnDomainHttpsConfig
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess CdnDomainHwPrivateAccess
    Access authentication for OBS origin.
    ipFilter CdnDomainIpFilter
    Specify Ip filter configurations.
    ipFreqLimit CdnDomainIpFreqLimit
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch string
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge CdnDomainMaxAge
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch string
    Offline cache switch, available values: on, off (default).
    origin CdnDomainOrigin
    Origin server configuration. It's a list and consist of at most one item.
    originPullOptimization CdnDomainOriginPullOptimization
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout CdnDomainOriginPullTimeout
    Cross-border linkage optimization configuration.
    ossPrivateAccess CdnDomainOssPrivateAccess
    Access authentication for OSS origin.
    othersPrivateAccess CdnDomainOthersPrivateAccess
    Object storage back-to-source authentication of other vendors.
    postMaxSizes CdnDomainPostMaxSize[]
    Maximum post size configuration.
    projectId number
    The project CDN belongs to, default to 0.
    qnPrivateAccess CdnDomainQnPrivateAccess
    Access authentication for OBS origin.
    quicSwitch string
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch string
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainReferer
    Referer configuration.
    requestHeader CdnDomainRequestHeader
    Request header configuration. It's a list and consist of at most one item.
    responseHeader CdnDomainResponseHeader
    Response header configurations.
    responseHeaderCacheSwitch string
    Response header cache switch, available values: on, off (default).
    ruleCaches CdnDomainRuleCach[]
    Advanced path cache configuration.
    seoSwitch string
    SEO switch, available values: on, off (default).
    serviceType string
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    specificConfigMainland string
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas string
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    status string
    Acceleration service status.
    statusCodeCache CdnDomainStatusCodeCache
    Status code cache configurations.
    tags {[key: string]: string}
    Tags of cdn domain.
    videoSeekSwitch string
    Video seek switch, available values: on, off (default).
    area str
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication CdnDomainAuthenticationArgs
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    aws_private_access CdnDomainAwsPrivateAccessArgs
    Access authentication for S3 origin.
    band_width_alert CdnDomainBandWidthAlertArgs
    Bandwidth cap configuration.
    cache_key CdnDomainCacheKeyArgs
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdn_domain_id str
    ID of the resource.
    cname str
    CNAME address of domain name.
    compression CdnDomainCompressionArgs
    Smart compression configurations.
    create_time str
    Creation time of domain name.
    domain str
    Name of the acceleration domain.
    downstream_capping CdnDomainDownstreamCappingArgs
    Downstream capping configuration.
    dry_run_create_result str
    Used for store dry_run request json.
    dry_run_update_result str
    Used for store dry_run update request json.
    error_page CdnDomainErrorPageArgs
    Error page configurations.
    explicit_using_dry_run bool
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    follow_redirect_switch str
    301/302 redirect following switch, available values: on, off (default).
    full_url_cache bool
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    https_config CdnDomainHttpsConfigArgs
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hw_private_access CdnDomainHwPrivateAccessArgs
    Access authentication for OBS origin.
    ip_filter CdnDomainIpFilterArgs
    Specify Ip filter configurations.
    ip_freq_limit CdnDomainIpFreqLimitArgs
    Specify Ip frequency limit configurations.
    ipv6_access_switch str
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    max_age CdnDomainMaxAgeArgs
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offline_cache_switch str
    Offline cache switch, available values: on, off (default).
    origin CdnDomainOriginArgs
    Origin server configuration. It's a list and consist of at most one item.
    origin_pull_optimization CdnDomainOriginPullOptimizationArgs
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    origin_pull_timeout CdnDomainOriginPullTimeoutArgs
    Cross-border linkage optimization configuration.
    oss_private_access CdnDomainOssPrivateAccessArgs
    Access authentication for OSS origin.
    others_private_access CdnDomainOthersPrivateAccessArgs
    Object storage back-to-source authentication of other vendors.
    post_max_sizes Sequence[CdnDomainPostMaxSizeArgs]
    Maximum post size configuration.
    project_id float
    The project CDN belongs to, default to 0.
    qn_private_access CdnDomainQnPrivateAccessArgs
    Access authentication for OBS origin.
    quic_switch str
    QUIC switch, available values: on, off (default).
    range_origin_switch str
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer CdnDomainRefererArgs
    Referer configuration.
    request_header CdnDomainRequestHeaderArgs
    Request header configuration. It's a list and consist of at most one item.
    response_header CdnDomainResponseHeaderArgs
    Response header configurations.
    response_header_cache_switch str
    Response header cache switch, available values: on, off (default).
    rule_caches Sequence[CdnDomainRuleCachArgs]
    Advanced path cache configuration.
    seo_switch str
    SEO switch, available values: on, off (default).
    service_type str
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    specific_config_mainland str
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specific_config_overseas str
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    status str
    Acceleration service status.
    status_code_cache CdnDomainStatusCodeCacheArgs
    Status code cache configurations.
    tags Mapping[str, str]
    Tags of cdn domain.
    video_seek_switch str
    Video seek switch, available values: on, off (default).
    area String
    Domain name acceleration region. mainland: acceleration inside mainland China, overseas: acceleration outside mainland China, global: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
    authentication Property Map
    Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
    awsPrivateAccess Property Map
    Access authentication for S3 origin.
    bandWidthAlert Property Map
    Bandwidth cap configuration.
    cacheKey Property Map
    Cache key configuration (Ignore Query String configuration). NOTE: All of full_url_cache default value is on.
    cdnDomainId String
    ID of the resource.
    cname String
    CNAME address of domain name.
    compression Property Map
    Smart compression configurations.
    createTime String
    Creation time of domain name.
    domain String
    Name of the acceleration domain.
    downstreamCapping Property Map
    Downstream capping configuration.
    dryRunCreateResult String
    Used for store dry_run request json.
    dryRunUpdateResult String
    Used for store dry_run update request json.
    errorPage Property Map
    Error page configurations.
    explicitUsingDryRun Boolean
    Used for validate only by store arguments to request json string as expected, WARNING: if set to true, NO Cloud Api will be invoked but store as local data, do not use this argument unless you really know what you are doing.
    followRedirectSwitch String
    301/302 redirect following switch, available values: on, off (default).
    fullUrlCache Boolean
    Use cache_key > full_url_cache instead. Whether to enable full-path cache. Default value is true.

    Deprecated: Deprecated

    httpsConfig Property Map
    HTTPS acceleration configuration. It's a list and consist of at most one item.
    hwPrivateAccess Property Map
    Access authentication for OBS origin.
    ipFilter Property Map
    Specify Ip filter configurations.
    ipFreqLimit Property Map
    Specify Ip frequency limit configurations.
    ipv6AccessSwitch String
    ipv6 access configuration switch. Only available when area set to mainland. Valid values are on and off. Default value is off.
    maxAge Property Map
    Browser cache configuration. (This feature is in beta and not generally available yet).
    offlineCacheSwitch String
    Offline cache switch, available values: on, off (default).
    origin Property Map
    Origin server configuration. It's a list and consist of at most one item.
    originPullOptimization Property Map
    Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
    originPullTimeout Property Map
    Cross-border linkage optimization configuration.
    ossPrivateAccess Property Map
    Access authentication for OSS origin.
    othersPrivateAccess Property Map
    Object storage back-to-source authentication of other vendors.
    postMaxSizes List<Property Map>
    Maximum post size configuration.
    projectId Number
    The project CDN belongs to, default to 0.
    qnPrivateAccess Property Map
    Access authentication for OBS origin.
    quicSwitch String
    QUIC switch, available values: on, off (default).
    rangeOriginSwitch String
    Sharding back to source configuration switch. Valid values are on and off. Default value is on.
    referer Property Map
    Referer configuration.
    requestHeader Property Map
    Request header configuration. It's a list and consist of at most one item.
    responseHeader Property Map
    Response header configurations.
    responseHeaderCacheSwitch String
    Response header cache switch, available values: on, off (default).
    ruleCaches List<Property Map>
    Advanced path cache configuration.
    seoSwitch String
    SEO switch, available values: on, off (default).
    serviceType String
    Acceleration domain name service type. web: static acceleration, download: download acceleration, media: streaming media VOD acceleration, hybrid: hybrid acceleration, dynamic: dynamic acceleration.
    specificConfigMainland String
    Specific configuration for mainland, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    specificConfigOverseas String
    Specific configuration for oversea, NOTE: Both specifying full schema or using it is superfluous, please use cloud api parameters json passthroughs, check the Data Types for more details.
    status String
    Acceleration service status.
    statusCodeCache Property Map
    Status code cache configurations.
    tags Map<String>
    Tags of cdn domain.
    videoSeekSwitch String
    Video seek switch, available values: on, off (default).

    Supporting Types

    CdnDomainAuthentication, CdnDomainAuthenticationArgs

    Switch string
    Authentication switching, available values: on, off.
    TypeA CdnDomainAuthenticationTypeA
    Timestamp hotlink protection mode A configuration.
    TypeB CdnDomainAuthenticationTypeB
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    TypeC CdnDomainAuthenticationTypeC
    Timestamp hotlink protection mode C configuration.
    TypeD CdnDomainAuthenticationTypeD
    Timestamp hotlink protection mode D configuration.
    Switch string
    Authentication switching, available values: on, off.
    TypeA CdnDomainAuthenticationTypeA
    Timestamp hotlink protection mode A configuration.
    TypeB CdnDomainAuthenticationTypeB
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    TypeC CdnDomainAuthenticationTypeC
    Timestamp hotlink protection mode C configuration.
    TypeD CdnDomainAuthenticationTypeD
    Timestamp hotlink protection mode D configuration.
    switch_ String
    Authentication switching, available values: on, off.
    typeA CdnDomainAuthenticationTypeA
    Timestamp hotlink protection mode A configuration.
    typeB CdnDomainAuthenticationTypeB
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    typeC CdnDomainAuthenticationTypeC
    Timestamp hotlink protection mode C configuration.
    typeD CdnDomainAuthenticationTypeD
    Timestamp hotlink protection mode D configuration.
    switch string
    Authentication switching, available values: on, off.
    typeA CdnDomainAuthenticationTypeA
    Timestamp hotlink protection mode A configuration.
    typeB CdnDomainAuthenticationTypeB
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    typeC CdnDomainAuthenticationTypeC
    Timestamp hotlink protection mode C configuration.
    typeD CdnDomainAuthenticationTypeD
    Timestamp hotlink protection mode D configuration.
    switch str
    Authentication switching, available values: on, off.
    type_a CdnDomainAuthenticationTypeA
    Timestamp hotlink protection mode A configuration.
    type_b CdnDomainAuthenticationTypeB
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    type_c CdnDomainAuthenticationTypeC
    Timestamp hotlink protection mode C configuration.
    type_d CdnDomainAuthenticationTypeD
    Timestamp hotlink protection mode D configuration.
    switch String
    Authentication switching, available values: on, off.
    typeA Property Map
    Timestamp hotlink protection mode A configuration.
    typeB Property Map
    Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
    typeC Property Map
    Timestamp hotlink protection mode C configuration.
    typeD Property Map
    Timestamp hotlink protection mode D configuration.

    CdnDomainAuthenticationTypeA, CdnDomainAuthenticationTypeAArgs

    ExpireTime double
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions List<string>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    SignParam string
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    ExpireTime float64
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions []string
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    SignParam string
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime Double
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    signParam String
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions string[]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    signParam string
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    backupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expire_time float
    Signature expiration time in second. The maximum value is 630720000.
    file_extensions Sequence[str]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filter_type str
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secret_key str
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    sign_param str
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    backup_secret_key str
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime Number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    signParam String
    Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.

    CdnDomainAuthenticationTypeB, CdnDomainAuthenticationTypeBArgs

    ExpireTime double
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions List<string>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    ExpireTime float64
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions []string
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime Double
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions string[]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expire_time float
    Signature expiration time in second. The maximum value is 630720000.
    file_extensions Sequence[str]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filter_type str
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secret_key str
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backup_secret_key str
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    expireTime Number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.

    CdnDomainAuthenticationTypeC, CdnDomainAuthenticationTypeCArgs

    ExpireTime double
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions List<string>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    TimeFormat string
    Timestamp formation, available values: dec, hex.
    ExpireTime float64
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions []string
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    TimeFormat string
    Timestamp formation, available values: dec, hex.
    expireTime Double
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat String
    Timestamp formation, available values: dec, hex.
    expireTime number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions string[]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat string
    Timestamp formation, available values: dec, hex.
    expire_time float
    Signature expiration time in second. The maximum value is 630720000.
    file_extensions Sequence[str]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filter_type str
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secret_key str
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backup_secret_key str
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    time_format str
    Timestamp formation, available values: dec, hex.
    expireTime Number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat String
    Timestamp formation, available values: dec, hex.

    CdnDomainAuthenticationTypeD, CdnDomainAuthenticationTypeDArgs

    ExpireTime double
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions List<string>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    TimeFormat string
    Timestamp formation, available values: dec, hex.
    TimeParam string
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    ExpireTime float64
    Signature expiration time in second. The maximum value is 630720000.
    FileExtensions []string
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    FilterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    SecretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    BackupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    TimeFormat string
    Timestamp formation, available values: dec, hex.
    TimeParam string
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    expireTime Double
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat String
    Timestamp formation, available values: dec, hex.
    timeParam String
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    expireTime number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions string[]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType string
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey string
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey string
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat string
    Timestamp formation, available values: dec, hex.
    timeParam string
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    expire_time float
    Signature expiration time in second. The maximum value is 630720000.
    file_extensions Sequence[str]
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filter_type str
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secret_key str
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backup_secret_key str
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    time_format str
    Timestamp formation, available values: dec, hex.
    time_param str
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
    expireTime Number
    Signature expiration time in second. The maximum value is 630720000.
    fileExtensions List<String>
    File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
    filterType String
    Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
    secretKey String
    The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
    backupSecretKey String
    Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
    timeFormat String
    Timestamp formation, available values: dec, hex.
    timeParam String
    Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.

    CdnDomainAwsPrivateAccess, CdnDomainAwsPrivateAccessArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    switch_ String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.
    switch string
    Configuration switch, available values: on, off (default).
    accessKey string
    Access ID.
    bucket string
    Bucket.
    region string
    Region.
    secretKey string
    Key.
    switch str
    Configuration switch, available values: on, off (default).
    access_key str
    Access ID.
    bucket str
    Bucket.
    region str
    Region.
    secret_key str
    Key.
    switch String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.

    CdnDomainBandWidthAlert, CdnDomainBandWidthAlertArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AlertPercentage double
    Alert percentage.
    AlertSwitch string
    Switch alert.
    BpsThreshold double
    threshold of bps.
    CounterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    LastTriggerTime string
    Last trigger time.
    LastTriggerTimeOverseas string
    Last trigger time of overseas.
    Metric string
    Metric.
    StatisticItem CdnDomainBandWidthAlertStatisticItem
    Specify statistic item configuration.
    Switch string
    Configuration switch, available values: on, off (default).
    AlertPercentage float64
    Alert percentage.
    AlertSwitch string
    Switch alert.
    BpsThreshold float64
    threshold of bps.
    CounterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    LastTriggerTime string
    Last trigger time.
    LastTriggerTimeOverseas string
    Last trigger time of overseas.
    Metric string
    Metric.
    StatisticItem CdnDomainBandWidthAlertStatisticItem
    Specify statistic item configuration.
    switch_ String
    Configuration switch, available values: on, off (default).
    alertPercentage Double
    Alert percentage.
    alertSwitch String
    Switch alert.
    bpsThreshold Double
    threshold of bps.
    counterMeasure String
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    lastTriggerTime String
    Last trigger time.
    lastTriggerTimeOverseas String
    Last trigger time of overseas.
    metric String
    Metric.
    statisticItem CdnDomainBandWidthAlertStatisticItem
    Specify statistic item configuration.
    switch string
    Configuration switch, available values: on, off (default).
    alertPercentage number
    Alert percentage.
    alertSwitch string
    Switch alert.
    bpsThreshold number
    threshold of bps.
    counterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    lastTriggerTime string
    Last trigger time.
    lastTriggerTimeOverseas string
    Last trigger time of overseas.
    metric string
    Metric.
    statisticItem CdnDomainBandWidthAlertStatisticItem
    Specify statistic item configuration.
    switch str
    Configuration switch, available values: on, off (default).
    alert_percentage float
    Alert percentage.
    alert_switch str
    Switch alert.
    bps_threshold float
    threshold of bps.
    counter_measure str
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    last_trigger_time str
    Last trigger time.
    last_trigger_time_overseas str
    Last trigger time of overseas.
    metric str
    Metric.
    statistic_item CdnDomainBandWidthAlertStatisticItem
    Specify statistic item configuration.
    switch String
    Configuration switch, available values: on, off (default).
    alertPercentage Number
    Alert percentage.
    alertSwitch String
    Switch alert.
    bpsThreshold Number
    threshold of bps.
    counterMeasure String
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    lastTriggerTime String
    Last trigger time.
    lastTriggerTimeOverseas String
    Last trigger time of overseas.
    metric String
    Metric.
    statisticItem Property Map
    Specify statistic item configuration.

    CdnDomainBandWidthAlertStatisticItem, CdnDomainBandWidthAlertStatisticItemArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AlertPercentage double
    Alert percentage.
    AlertSwitch string
    Switch alert.
    BpsThreshold double
    threshold of bps.
    CounterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    Cycle double
    Cycle of checking in minutes, values 60, 1440.
    Metric string
    Metric.
    Type string
    Type of statistic item.
    UnblockTime double
    Time of auto unblock.
    Switch string
    Configuration switch, available values: on, off (default).
    AlertPercentage float64
    Alert percentage.
    AlertSwitch string
    Switch alert.
    BpsThreshold float64
    threshold of bps.
    CounterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    Cycle float64
    Cycle of checking in minutes, values 60, 1440.
    Metric string
    Metric.
    Type string
    Type of statistic item.
    UnblockTime float64
    Time of auto unblock.
    switch_ String
    Configuration switch, available values: on, off (default).
    alertPercentage Double
    Alert percentage.
    alertSwitch String
    Switch alert.
    bpsThreshold Double
    threshold of bps.
    counterMeasure String
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    cycle Double
    Cycle of checking in minutes, values 60, 1440.
    metric String
    Metric.
    type String
    Type of statistic item.
    unblockTime Double
    Time of auto unblock.
    switch string
    Configuration switch, available values: on, off (default).
    alertPercentage number
    Alert percentage.
    alertSwitch string
    Switch alert.
    bpsThreshold number
    threshold of bps.
    counterMeasure string
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    cycle number
    Cycle of checking in minutes, values 60, 1440.
    metric string
    Metric.
    type string
    Type of statistic item.
    unblockTime number
    Time of auto unblock.
    switch str
    Configuration switch, available values: on, off (default).
    alert_percentage float
    Alert percentage.
    alert_switch str
    Switch alert.
    bps_threshold float
    threshold of bps.
    counter_measure str
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    cycle float
    Cycle of checking in minutes, values 60, 1440.
    metric str
    Metric.
    type str
    Type of statistic item.
    unblock_time float
    Time of auto unblock.
    switch String
    Configuration switch, available values: on, off (default).
    alertPercentage Number
    Alert percentage.
    alertSwitch String
    Switch alert.
    bpsThreshold Number
    threshold of bps.
    counterMeasure String
    Counter measure, values: RETURN_404, RESOLVE_DNS_TO_ORIGIN.
    cycle Number
    Cycle of checking in minutes, values 60, 1440.
    metric String
    Metric.
    type String
    Type of statistic item.
    unblockTime Number
    Time of auto unblock.

    CdnDomainCacheKey, CdnDomainCacheKeyArgs

    FullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    IgnoreCase string
    Whether caches are case insensitive.
    KeyRules List<CdnDomainCacheKeyKeyRule>
    Path-specific cache key configuration.
    QueryString CdnDomainCacheKeyQueryString
    Request parameter contained in CacheKey.
    FullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    IgnoreCase string
    Whether caches are case insensitive.
    KeyRules []CdnDomainCacheKeyKeyRule
    Path-specific cache key configuration.
    QueryString CdnDomainCacheKeyQueryString
    Request parameter contained in CacheKey.
    fullUrlCache String
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase String
    Whether caches are case insensitive.
    keyRules List<CdnDomainCacheKeyKeyRule>
    Path-specific cache key configuration.
    queryString CdnDomainCacheKeyQueryString
    Request parameter contained in CacheKey.
    fullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase string
    Whether caches are case insensitive.
    keyRules CdnDomainCacheKeyKeyRule[]
    Path-specific cache key configuration.
    queryString CdnDomainCacheKeyQueryString
    Request parameter contained in CacheKey.
    full_url_cache str
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignore_case str
    Whether caches are case insensitive.
    key_rules Sequence[CdnDomainCacheKeyKeyRule]
    Path-specific cache key configuration.
    query_string CdnDomainCacheKeyQueryString
    Request parameter contained in CacheKey.
    fullUrlCache String
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase String
    Whether caches are case insensitive.
    keyRules List<Property Map>
    Path-specific cache key configuration.
    queryString Property Map
    Request parameter contained in CacheKey.

    CdnDomainCacheKeyKeyRule, CdnDomainCacheKeyKeyRuleArgs

    QueryString CdnDomainCacheKeyKeyRuleQueryString
    Request parameter contained in CacheKey.
    RulePaths List<string>
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Rule type, available: file, directory, path, index.
    FullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    IgnoreCase string
    Whether caches are case insensitive.
    RuleTag string
    Specify rule tag, default value is user.
    QueryString CdnDomainCacheKeyKeyRuleQueryString
    Request parameter contained in CacheKey.
    RulePaths []string
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Rule type, available: file, directory, path, index.
    FullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    IgnoreCase string
    Whether caches are case insensitive.
    RuleTag string
    Specify rule tag, default value is user.
    queryString CdnDomainCacheKeyKeyRuleQueryString
    Request parameter contained in CacheKey.
    rulePaths List<String>
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Rule type, available: file, directory, path, index.
    fullUrlCache String
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase String
    Whether caches are case insensitive.
    ruleTag String
    Specify rule tag, default value is user.
    queryString CdnDomainCacheKeyKeyRuleQueryString
    Request parameter contained in CacheKey.
    rulePaths string[]
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType string
    Rule type, available: file, directory, path, index.
    fullUrlCache string
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase string
    Whether caches are case insensitive.
    ruleTag string
    Specify rule tag, default value is user.
    query_string CdnDomainCacheKeyKeyRuleQueryString
    Request parameter contained in CacheKey.
    rule_paths Sequence[str]
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    rule_type str
    Rule type, available: file, directory, path, index.
    full_url_cache str
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignore_case str
    Whether caches are case insensitive.
    rule_tag str
    Specify rule tag, default value is user.
    queryString Property Map
    Request parameter contained in CacheKey.
    rulePaths List<String>
    List of rule paths for each key_rules: / for index, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Rule type, available: file, directory, path, index.
    fullUrlCache String
    Whether to enable full-path cache, values on (DEFAULT ON), off.
    ignoreCase String
    Whether caches are case insensitive.
    ruleTag String
    Specify rule tag, default value is user.

    CdnDomainCacheKeyKeyRuleQueryString, CdnDomainCacheKeyKeyRuleQueryStringArgs

    Action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    Switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    Value string
    Array of included/excluded query strings (separated by ;).
    Action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    Switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    Value string
    Array of included/excluded query strings (separated by ;).
    action String
    Specify key rule QS action, values: includeCustom, excludeCustom.
    switch_ String
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value String
    Array of included/excluded query strings (separated by ;).
    action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value string
    Array of included/excluded query strings (separated by ;).
    action str
    Specify key rule QS action, values: includeCustom, excludeCustom.
    switch str
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value str
    Array of included/excluded query strings (separated by ;).
    action String
    Specify key rule QS action, values: includeCustom, excludeCustom.
    switch String
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value String
    Array of included/excluded query strings (separated by ;).

    CdnDomainCacheKeyQueryString, CdnDomainCacheKeyQueryStringArgs

    Action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    Reorder string
    Whether to sort again, values on, off (Default).
    Switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    Value string
    Array of included/excluded query strings (separated by ;).
    Action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    Reorder string
    Whether to sort again, values on, off (Default).
    Switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    Value string
    Array of included/excluded query strings (separated by ;).
    action String
    Specify key rule QS action, values: includeCustom, excludeCustom.
    reorder String
    Whether to sort again, values on, off (Default).
    switch_ String
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value String
    Array of included/excluded query strings (separated by ;).
    action string
    Specify key rule QS action, values: includeCustom, excludeCustom.
    reorder string
    Whether to sort again, values on, off (Default).
    switch string
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value string
    Array of included/excluded query strings (separated by ;).
    action str
    Specify key rule QS action, values: includeCustom, excludeCustom.
    reorder str
    Whether to sort again, values on, off (Default).
    switch str
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value str
    Array of included/excluded query strings (separated by ;).
    action String
    Specify key rule QS action, values: includeCustom, excludeCustom.
    reorder String
    Whether to sort again, values on, off (Default).
    switch String
    Whether to use QueryString as part of CacheKey, values on, off (Default).
    value String
    Array of included/excluded query strings (separated by ;).

    CdnDomainCompression, CdnDomainCompressionArgs

    Switch string
    Configuration switch, available values: on, off (default).
    CompressionRules List<CdnDomainCompressionCompressionRule>
    List of compression rules.
    Switch string
    Configuration switch, available values: on, off (default).
    CompressionRules []CdnDomainCompressionCompressionRule
    List of compression rules.
    switch_ String
    Configuration switch, available values: on, off (default).
    compressionRules List<CdnDomainCompressionCompressionRule>
    List of compression rules.
    switch string
    Configuration switch, available values: on, off (default).
    compressionRules CdnDomainCompressionCompressionRule[]
    List of compression rules.
    switch str
    Configuration switch, available values: on, off (default).
    compression_rules Sequence[CdnDomainCompressionCompressionRule]
    List of compression rules.
    switch String
    Configuration switch, available values: on, off (default).
    compressionRules List<Property Map>
    List of compression rules.

    CdnDomainCompressionCompressionRule, CdnDomainCompressionCompressionRuleArgs

    Algorithms List<string>
    List of algorithms, available: gzip and brotli.
    Compress bool
    Must be set as true, enables compression.
    MaxLength double
    The maximum file size to trigger compression (in bytes).
    MinLength double
    The minimum file size to trigger compression (in bytes).
    FileExtensions List<string>
    List of file extensions like jpg, txt.
    RulePaths List<string>
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Rule type, available: all, file, directory, path, contentType.
    Algorithms []string
    List of algorithms, available: gzip and brotli.
    Compress bool
    Must be set as true, enables compression.
    MaxLength float64
    The maximum file size to trigger compression (in bytes).
    MinLength float64
    The minimum file size to trigger compression (in bytes).
    FileExtensions []string
    List of file extensions like jpg, txt.
    RulePaths []string
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Rule type, available: all, file, directory, path, contentType.
    algorithms List<String>
    List of algorithms, available: gzip and brotli.
    compress Boolean
    Must be set as true, enables compression.
    maxLength Double
    The maximum file size to trigger compression (in bytes).
    minLength Double
    The minimum file size to trigger compression (in bytes).
    fileExtensions List<String>
    List of file extensions like jpg, txt.
    rulePaths List<String>
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Rule type, available: all, file, directory, path, contentType.
    algorithms string[]
    List of algorithms, available: gzip and brotli.
    compress boolean
    Must be set as true, enables compression.
    maxLength number
    The maximum file size to trigger compression (in bytes).
    minLength number
    The minimum file size to trigger compression (in bytes).
    fileExtensions string[]
    List of file extensions like jpg, txt.
    rulePaths string[]
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType string
    Rule type, available: all, file, directory, path, contentType.
    algorithms Sequence[str]
    List of algorithms, available: gzip and brotli.
    compress bool
    Must be set as true, enables compression.
    max_length float
    The maximum file size to trigger compression (in bytes).
    min_length float
    The minimum file size to trigger compression (in bytes).
    file_extensions Sequence[str]
    List of file extensions like jpg, txt.
    rule_paths Sequence[str]
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    rule_type str
    Rule type, available: all, file, directory, path, contentType.
    algorithms List<String>
    List of algorithms, available: gzip and brotli.
    compress Boolean
    Must be set as true, enables compression.
    maxLength Number
    The maximum file size to trigger compression (in bytes).
    minLength Number
    The minimum file size to trigger compression (in bytes).
    fileExtensions List<String>
    List of file extensions like jpg, txt.
    rulePaths List<String>
    List of rule paths for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Rule type, available: all, file, directory, path, contentType.

    CdnDomainDownstreamCapping, CdnDomainDownstreamCappingArgs

    Switch string
    Configuration switch, available values: on, off (default).
    CappingRules List<CdnDomainDownstreamCappingCappingRule>
    List of capping rule.
    Switch string
    Configuration switch, available values: on, off (default).
    CappingRules []CdnDomainDownstreamCappingCappingRule
    List of capping rule.
    switch_ String
    Configuration switch, available values: on, off (default).
    cappingRules List<CdnDomainDownstreamCappingCappingRule>
    List of capping rule.
    switch string
    Configuration switch, available values: on, off (default).
    cappingRules CdnDomainDownstreamCappingCappingRule[]
    List of capping rule.
    switch str
    Configuration switch, available values: on, off (default).
    capping_rules Sequence[CdnDomainDownstreamCappingCappingRule]
    List of capping rule.
    switch String
    Configuration switch, available values: on, off (default).
    cappingRules List<Property Map>
    List of capping rule.

    CdnDomainDownstreamCappingCappingRule, CdnDomainDownstreamCappingCappingRuleArgs

    KbpsThreshold double
    Capping rule kbps threshold.
    RulePaths List<string>
    List of capping rule path.
    RuleType string
    Capping rule type.
    KbpsThreshold float64
    Capping rule kbps threshold.
    RulePaths []string
    List of capping rule path.
    RuleType string
    Capping rule type.
    kbpsThreshold Double
    Capping rule kbps threshold.
    rulePaths List<String>
    List of capping rule path.
    ruleType String
    Capping rule type.
    kbpsThreshold number
    Capping rule kbps threshold.
    rulePaths string[]
    List of capping rule path.
    ruleType string
    Capping rule type.
    kbps_threshold float
    Capping rule kbps threshold.
    rule_paths Sequence[str]
    List of capping rule path.
    rule_type str
    Capping rule type.
    kbpsThreshold Number
    Capping rule kbps threshold.
    rulePaths List<String>
    List of capping rule path.
    ruleType String
    Capping rule type.

    CdnDomainErrorPage, CdnDomainErrorPageArgs

    Switch string
    Configuration switch, available values: on, off (default).
    PageRules List<CdnDomainErrorPagePageRule>
    List of error page rule.
    Switch string
    Configuration switch, available values: on, off (default).
    PageRules []CdnDomainErrorPagePageRule
    List of error page rule.
    switch_ String
    Configuration switch, available values: on, off (default).
    pageRules List<CdnDomainErrorPagePageRule>
    List of error page rule.
    switch string
    Configuration switch, available values: on, off (default).
    pageRules CdnDomainErrorPagePageRule[]
    List of error page rule.
    switch str
    Configuration switch, available values: on, off (default).
    page_rules Sequence[CdnDomainErrorPagePageRule]
    List of error page rule.
    switch String
    Configuration switch, available values: on, off (default).
    pageRules List<Property Map>
    List of error page rule.

    CdnDomainErrorPagePageRule, CdnDomainErrorPagePageRuleArgs

    RedirectCode double
    Redirect code of error page rules.
    RedirectUrl string
    Redirect url of error page rules.
    StatusCode double
    Status code of error page rules.
    RedirectCode float64
    Redirect code of error page rules.
    RedirectUrl string
    Redirect url of error page rules.
    StatusCode float64
    Status code of error page rules.
    redirectCode Double
    Redirect code of error page rules.
    redirectUrl String
    Redirect url of error page rules.
    statusCode Double
    Status code of error page rules.
    redirectCode number
    Redirect code of error page rules.
    redirectUrl string
    Redirect url of error page rules.
    statusCode number
    Status code of error page rules.
    redirect_code float
    Redirect code of error page rules.
    redirect_url str
    Redirect url of error page rules.
    status_code float
    Status code of error page rules.
    redirectCode Number
    Redirect code of error page rules.
    redirectUrl String
    Redirect url of error page rules.
    statusCode Number
    Status code of error page rules.

    CdnDomainHttpsConfig, CdnDomainHttpsConfigArgs

    HttpsSwitch string
    HTTPS configuration switch. Valid values are on and off.
    ClientCertificateConfig CdnDomainHttpsConfigClientCertificateConfig
    Client certificate configuration information.
    ForceRedirect CdnDomainHttpsConfigForceRedirect
    Configuration of forced HTTP or HTTPS redirects.
    Http2Switch string
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    OcspStaplingSwitch string
    OCSP configuration switch. Valid values are on and off. and default value is off.
    ServerCertificateConfig CdnDomainHttpsConfigServerCertificateConfig
    Server certificate configuration information.
    SpdySwitch string
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    TlsVersions List<string>
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    VerifyClient string
    Client certificate authentication feature. Valid values are on and off. and default value is off.
    HttpsSwitch string
    HTTPS configuration switch. Valid values are on and off.
    ClientCertificateConfig CdnDomainHttpsConfigClientCertificateConfig
    Client certificate configuration information.
    ForceRedirect CdnDomainHttpsConfigForceRedirect
    Configuration of forced HTTP or HTTPS redirects.
    Http2Switch string
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    OcspStaplingSwitch string
    OCSP configuration switch. Valid values are on and off. and default value is off.
    ServerCertificateConfig CdnDomainHttpsConfigServerCertificateConfig
    Server certificate configuration information.
    SpdySwitch string
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    TlsVersions []string
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    VerifyClient string
    Client certificate authentication feature. Valid values are on and off. and default value is off.
    httpsSwitch String
    HTTPS configuration switch. Valid values are on and off.
    clientCertificateConfig CdnDomainHttpsConfigClientCertificateConfig
    Client certificate configuration information.
    forceRedirect CdnDomainHttpsConfigForceRedirect
    Configuration of forced HTTP or HTTPS redirects.
    http2Switch String
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    ocspStaplingSwitch String
    OCSP configuration switch. Valid values are on and off. and default value is off.
    serverCertificateConfig CdnDomainHttpsConfigServerCertificateConfig
    Server certificate configuration information.
    spdySwitch String
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    tlsVersions List<String>
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    verifyClient String
    Client certificate authentication feature. Valid values are on and off. and default value is off.
    httpsSwitch string
    HTTPS configuration switch. Valid values are on and off.
    clientCertificateConfig CdnDomainHttpsConfigClientCertificateConfig
    Client certificate configuration information.
    forceRedirect CdnDomainHttpsConfigForceRedirect
    Configuration of forced HTTP or HTTPS redirects.
    http2Switch string
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    ocspStaplingSwitch string
    OCSP configuration switch. Valid values are on and off. and default value is off.
    serverCertificateConfig CdnDomainHttpsConfigServerCertificateConfig
    Server certificate configuration information.
    spdySwitch string
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    tlsVersions string[]
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    verifyClient string
    Client certificate authentication feature. Valid values are on and off. and default value is off.
    https_switch str
    HTTPS configuration switch. Valid values are on and off.
    client_certificate_config CdnDomainHttpsConfigClientCertificateConfig
    Client certificate configuration information.
    force_redirect CdnDomainHttpsConfigForceRedirect
    Configuration of forced HTTP or HTTPS redirects.
    http2_switch str
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    ocsp_stapling_switch str
    OCSP configuration switch. Valid values are on and off. and default value is off.
    server_certificate_config CdnDomainHttpsConfigServerCertificateConfig
    Server certificate configuration information.
    spdy_switch str
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    tls_versions Sequence[str]
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    verify_client str
    Client certificate authentication feature. Valid values are on and off. and default value is off.
    httpsSwitch String
    HTTPS configuration switch. Valid values are on and off.
    clientCertificateConfig Property Map
    Client certificate configuration information.
    forceRedirect Property Map
    Configuration of forced HTTP or HTTPS redirects.
    http2Switch String
    HTTP2 configuration switch. Valid values are on and off. and default value is off.
    ocspStaplingSwitch String
    OCSP configuration switch. Valid values are on and off. and default value is off.
    serverCertificateConfig Property Map
    Server certificate configuration information.
    spdySwitch String
    Spdy configuration switch. Valid values are on and off. and default value is off. This parameter is for white-list customer.
    tlsVersions List<String>
    Tls version settings, only support some Advanced domain names, support settings TLSv1, TLSV1.1, TLSV1.2, TLSv1.3, when modifying must open consecutive versions.
    verifyClient String
    Client certificate authentication feature. Valid values are on and off. and default value is off.

    CdnDomainHttpsConfigClientCertificateConfig, CdnDomainHttpsConfigClientCertificateConfigArgs

    CertificateContent string
    Client Certificate PEM format, requires Base64 encoding.
    CertificateName string
    Client certificate name.
    DeployTime string
    Deploy time of client certificate.
    ExpireTime string
    Expire time of client certificate.
    CertificateContent string
    Client Certificate PEM format, requires Base64 encoding.
    CertificateName string
    Client certificate name.
    DeployTime string
    Deploy time of client certificate.
    ExpireTime string
    Expire time of client certificate.
    certificateContent String
    Client Certificate PEM format, requires Base64 encoding.
    certificateName String
    Client certificate name.
    deployTime String
    Deploy time of client certificate.
    expireTime String
    Expire time of client certificate.
    certificateContent string
    Client Certificate PEM format, requires Base64 encoding.
    certificateName string
    Client certificate name.
    deployTime string
    Deploy time of client certificate.
    expireTime string
    Expire time of client certificate.
    certificate_content str
    Client Certificate PEM format, requires Base64 encoding.
    certificate_name str
    Client certificate name.
    deploy_time str
    Deploy time of client certificate.
    expire_time str
    Expire time of client certificate.
    certificateContent String
    Client Certificate PEM format, requires Base64 encoding.
    certificateName String
    Client certificate name.
    deployTime String
    Deploy time of client certificate.
    expireTime String
    Expire time of client certificate.

    CdnDomainHttpsConfigForceRedirect, CdnDomainHttpsConfigForceRedirectArgs

    CarryHeaders string
    Whether to return the newly added header during force redirection. Values: on, off.
    RedirectStatusCode double
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    RedirectType string
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    Switch string
    Forced redirect configuration switch. Valid values are on and off. Default value is off.
    CarryHeaders string
    Whether to return the newly added header during force redirection. Values: on, off.
    RedirectStatusCode float64
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    RedirectType string
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    Switch string
    Forced redirect configuration switch. Valid values are on and off. Default value is off.
    carryHeaders String
    Whether to return the newly added header during force redirection. Values: on, off.
    redirectStatusCode Double
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    redirectType String
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    switch_ String
    Forced redirect configuration switch. Valid values are on and off. Default value is off.
    carryHeaders string
    Whether to return the newly added header during force redirection. Values: on, off.
    redirectStatusCode number
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    redirectType string
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    switch string
    Forced redirect configuration switch. Valid values are on and off. Default value is off.
    carry_headers str
    Whether to return the newly added header during force redirection. Values: on, off.
    redirect_status_code float
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    redirect_type str
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    switch str
    Forced redirect configuration switch. Valid values are on and off. Default value is off.
    carryHeaders String
    Whether to return the newly added header during force redirection. Values: on, off.
    redirectStatusCode Number
    Forced redirect status code. Valid values are 301 and 302. When switch setting off, this property does not need to be set or set to 302. Default value is 302.
    redirectType String
    Forced redirect type. Valid values are http and https. http means a forced redirect from HTTPS to HTTP, https means a forced redirect from HTTP to HTTPS. When switch setting off, this property does not need to be set or set to http. Default value is http.
    switch String
    Forced redirect configuration switch. Valid values are on and off. Default value is off.

    CdnDomainHttpsConfigServerCertificateConfig, CdnDomainHttpsConfigServerCertificateConfigArgs

    CertificateContent string
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    CertificateId string
    Server certificate ID.
    CertificateName string
    Server certificate name.
    DeployTime string
    Deploy time of server certificate.
    ExpireTime string
    Expire time of server certificate.
    Message string
    Certificate remarks.
    PrivateKey string
    Server key information. This is required when uploading an external certificate.
    CertificateContent string
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    CertificateId string
    Server certificate ID.
    CertificateName string
    Server certificate name.
    DeployTime string
    Deploy time of server certificate.
    ExpireTime string
    Expire time of server certificate.
    Message string
    Certificate remarks.
    PrivateKey string
    Server key information. This is required when uploading an external certificate.
    certificateContent String
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    certificateId String
    Server certificate ID.
    certificateName String
    Server certificate name.
    deployTime String
    Deploy time of server certificate.
    expireTime String
    Expire time of server certificate.
    message String
    Certificate remarks.
    privateKey String
    Server key information. This is required when uploading an external certificate.
    certificateContent string
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    certificateId string
    Server certificate ID.
    certificateName string
    Server certificate name.
    deployTime string
    Deploy time of server certificate.
    expireTime string
    Expire time of server certificate.
    message string
    Certificate remarks.
    privateKey string
    Server key information. This is required when uploading an external certificate.
    certificate_content str
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    certificate_id str
    Server certificate ID.
    certificate_name str
    Server certificate name.
    deploy_time str
    Deploy time of server certificate.
    expire_time str
    Expire time of server certificate.
    message str
    Certificate remarks.
    private_key str
    Server key information. This is required when uploading an external certificate.
    certificateContent String
    Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
    certificateId String
    Server certificate ID.
    certificateName String
    Server certificate name.
    deployTime String
    Deploy time of server certificate.
    expireTime String
    Expire time of server certificate.
    message String
    Certificate remarks.
    privateKey String
    Server key information. This is required when uploading an external certificate.

    CdnDomainHwPrivateAccess, CdnDomainHwPrivateAccessArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    SecretKey string
    Key.
    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    SecretKey string
    Key.
    switch_ String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    secretKey String
    Key.
    switch string
    Configuration switch, available values: on, off (default).
    accessKey string
    Access ID.
    bucket string
    Bucket.
    secretKey string
    Key.
    switch str
    Configuration switch, available values: on, off (default).
    access_key str
    Access ID.
    bucket str
    Bucket.
    secret_key str
    Key.
    switch String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    secretKey String
    Key.

    CdnDomainIpFilter, CdnDomainIpFilterArgs

    Switch string
    Configuration switch, available values: on, off (default).
    FilterRules List<CdnDomainIpFilterFilterRule>
    Ip filter rules, This feature is only available to selected beta customers.
    FilterType string
    IP blacklist/whitelist type.
    Filters List<string>
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    ReturnCode double
    Return code, available values: 400-499.
    Switch string
    Configuration switch, available values: on, off (default).
    FilterRules []CdnDomainIpFilterFilterRule
    Ip filter rules, This feature is only available to selected beta customers.
    FilterType string
    IP blacklist/whitelist type.
    Filters []string
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    ReturnCode float64
    Return code, available values: 400-499.
    switch_ String
    Configuration switch, available values: on, off (default).
    filterRules List<CdnDomainIpFilterFilterRule>
    Ip filter rules, This feature is only available to selected beta customers.
    filterType String
    IP blacklist/whitelist type.
    filters List<String>
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    returnCode Double
    Return code, available values: 400-499.
    switch string
    Configuration switch, available values: on, off (default).
    filterRules CdnDomainIpFilterFilterRule[]
    Ip filter rules, This feature is only available to selected beta customers.
    filterType string
    IP blacklist/whitelist type.
    filters string[]
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    returnCode number
    Return code, available values: 400-499.
    switch str
    Configuration switch, available values: on, off (default).
    filter_rules Sequence[CdnDomainIpFilterFilterRule]
    Ip filter rules, This feature is only available to selected beta customers.
    filter_type str
    IP blacklist/whitelist type.
    filters Sequence[str]
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    return_code float
    Return code, available values: 400-499.
    switch String
    Configuration switch, available values: on, off (default).
    filterRules List<Property Map>
    Ip filter rules, This feature is only available to selected beta customers.
    filterType String
    IP blacklist/whitelist type.
    filters List<String>
    Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    returnCode Number
    Return code, available values: 400-499.

    CdnDomainIpFilterFilterRule, CdnDomainIpFilterFilterRuleArgs

    FilterType string
    Ip filter blacklist/whitelist type of filter rules.
    Filters List<string>
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    RulePaths List<string>
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Ip filter rule type of filter rules, available: all, file, directory, path.
    FilterType string
    Ip filter blacklist/whitelist type of filter rules.
    Filters []string
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    RulePaths []string
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    RuleType string
    Ip filter rule type of filter rules, available: all, file, directory, path.
    filterType String
    Ip filter blacklist/whitelist type of filter rules.
    filters List<String>
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    rulePaths List<String>
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Ip filter rule type of filter rules, available: all, file, directory, path.
    filterType string
    Ip filter blacklist/whitelist type of filter rules.
    filters string[]
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    rulePaths string[]
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType string
    Ip filter rule type of filter rules, available: all, file, directory, path.
    filter_type str
    Ip filter blacklist/whitelist type of filter rules.
    filters Sequence[str]
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    rule_paths Sequence[str]
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    rule_type str
    Ip filter rule type of filter rules, available: all, file, directory, path.
    filterType String
    Ip filter blacklist/whitelist type of filter rules.
    filters List<String>
    Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
    rulePaths List<String>
    Content list for each rule_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    ruleType String
    Ip filter rule type of filter rules, available: all, file, directory, path.

    CdnDomainIpFreqLimit, CdnDomainIpFreqLimitArgs

    Switch string
    Configuration switch, available values: on, off (default).
    Qps double
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.
    Switch string
    Configuration switch, available values: on, off (default).
    Qps float64
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.
    switch_ String
    Configuration switch, available values: on, off (default).
    qps Double
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.
    switch string
    Configuration switch, available values: on, off (default).
    qps number
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.
    switch str
    Configuration switch, available values: on, off (default).
    qps float
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.
    switch String
    Configuration switch, available values: on, off (default).
    qps Number
    Sets the limited number of requests per second, 514 will be returned for requests that exceed the limit.

    CdnDomainMaxAge, CdnDomainMaxAgeArgs

    Switch string
    Configuration switch, available values: on, off (default).
    MaxAgeRules List<CdnDomainMaxAgeMaxAgeRule>
    List of Max Age rule configuration.
    Switch string
    Configuration switch, available values: on, off (default).
    MaxAgeRules []CdnDomainMaxAgeMaxAgeRule
    List of Max Age rule configuration.
    switch_ String
    Configuration switch, available values: on, off (default).
    maxAgeRules List<CdnDomainMaxAgeMaxAgeRule>
    List of Max Age rule configuration.
    switch string
    Configuration switch, available values: on, off (default).
    maxAgeRules CdnDomainMaxAgeMaxAgeRule[]
    List of Max Age rule configuration.
    switch str
    Configuration switch, available values: on, off (default).
    max_age_rules Sequence[CdnDomainMaxAgeMaxAgeRule]
    List of Max Age rule configuration.
    switch String
    Configuration switch, available values: on, off (default).
    maxAgeRules List<Property Map>
    List of Max Age rule configuration.

    CdnDomainMaxAgeMaxAgeRule, CdnDomainMaxAgeMaxAgeRuleArgs

    MaxAgeContents List<string>
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    MaxAgeTime double
    Max Age time in seconds, this can set to 0 that stands for no cache.
    MaxAgeType string
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    FollowOrigin string
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.
    MaxAgeContents []string
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    MaxAgeTime float64
    Max Age time in seconds, this can set to 0 that stands for no cache.
    MaxAgeType string
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    FollowOrigin string
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.
    maxAgeContents List<String>
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    maxAgeTime Double
    Max Age time in seconds, this can set to 0 that stands for no cache.
    maxAgeType String
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    followOrigin String
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.
    maxAgeContents string[]
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    maxAgeTime number
    Max Age time in seconds, this can set to 0 that stands for no cache.
    maxAgeType string
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    followOrigin string
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.
    max_age_contents Sequence[str]
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    max_age_time float
    Max Age time in seconds, this can set to 0 that stands for no cache.
    max_age_type str
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    follow_origin str
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.
    maxAgeContents List<String>
    List of rule paths for each max_age_type: * for all, file ext like jpg for file, /dir/like/ for directory and /path/index.html for path.
    maxAgeTime Number
    Max Age time in seconds, this can set to 0 that stands for no cache.
    maxAgeType String
    The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    followOrigin String
    Whether to follow origin, values: on/off, if set to on, the max_age_time will be ignored.

    CdnDomainOrigin, CdnDomainOriginArgs

    OriginLists List<string>
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    OriginType string
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    BackupOriginLists List<string>
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    BackupOriginType string
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    BackupServerName string
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    CosPrivateAccess string
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    OriginCompany string
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    OriginPullProtocol string
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    ServerName string
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
    OriginLists []string
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    OriginType string
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    BackupOriginLists []string
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    BackupOriginType string
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    BackupServerName string
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    CosPrivateAccess string
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    OriginCompany string
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    OriginPullProtocol string
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    ServerName string
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
    originLists List<String>
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    originType String
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    backupOriginLists List<String>
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    backupOriginType String
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    backupServerName String
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    cosPrivateAccess String
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    originCompany String
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    originPullProtocol String
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    serverName String
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
    originLists string[]
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    originType string
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    backupOriginLists string[]
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    backupOriginType string
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    backupServerName string
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    cosPrivateAccess string
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    originCompany string
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    originPullProtocol string
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    serverName string
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
    origin_lists Sequence[str]
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    origin_type str
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    backup_origin_lists Sequence[str]
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    backup_origin_type str
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    backup_server_name str
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    cos_private_access str
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    origin_company str
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    origin_pull_protocol str
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    server_name str
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
    originLists List<String>
    Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding origin_type.
    originType String
    Master origin server type. The following types are supported: domain: Domain name, domainv6: IPv6 domain name, cos: COS bucket address, third_party: Third-party object storage origin, igtm: IGTM origin, ip: IP address, ipv6: One IPv6 address, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_domain: IP addresses and domain names (only available to beta users), ip_domainv6: Multiple IPv4 addresses and one IPv6 domain name, ipv6_domain: Multiple IPv6 addresses and one domain name, ipv6_domainv6: Multiple IPv6 addresses and one IPv6 domain name, domain_domainv6: Multiple IPv4 domain names and one IPv6 domain name, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name, ip_ipv6_domainv6: Multiple IPv4 and IPv6 addresses and one IPv6 domain name, ip_domain_domainv6: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name, ipv6_domain_domainv6: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name, ip_ipv6_domain_domainv6: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name.
    backupOriginLists List<String>
    Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding backup_origin_type.
    backupOriginType String
    Backup origin server type, which supports the following types: domain: domain name type, ip: IP list used as origin server, ipv6_domain: Multiple IPv6 addresses and one domain name, ip_ipv6: Multiple IPv4 addresses and one IPv6 address, ip_ipv6_domain: Multiple IPv4 and IPv6 addresses and one domain name.
    backupServerName String
    Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
    cosPrivateAccess String
    When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are on and off. and default value is off.
    originCompany String
    Object storage back to the source vendor. Required when the source station type is a third-party storage source station (third_party). Optional values include the following: aws_s3: AWS S3; ali_oss: Alibaba Cloud OSS; hw_obs: Huawei OBS; qiniu_kodo: Qiniu Cloud kodo; others: other vendors' object storage, only supports object storage compatible with AWS signature algorithm, such as Tencent Cloud Financial Zone COS. Example value: hw_obs.
    originPullProtocol String
    Origin-pull protocol configuration. http: forced HTTP origin-pull, follow: protocol follow origin-pull, https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
    serverName String
    Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.

    CdnDomainOriginPullOptimization, CdnDomainOriginPullOptimizationArgs

    Switch string
    Configuration switch, available values: on, off (default).
    OptimizationType string
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
    Switch string
    Configuration switch, available values: on, off (default).
    OptimizationType string
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
    switch_ String
    Configuration switch, available values: on, off (default).
    optimizationType String
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
    switch string
    Configuration switch, available values: on, off (default).
    optimizationType string
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
    switch str
    Configuration switch, available values: on, off (default).
    optimization_type str
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
    switch String
    Configuration switch, available values: on, off (default).
    optimizationType String
    Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.

    CdnDomainOriginPullTimeout, CdnDomainOriginPullTimeoutArgs

    ConnectTimeout double
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    ReceiveTimeout double
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.
    ConnectTimeout float64
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    ReceiveTimeout float64
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.
    connectTimeout Double
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    receiveTimeout Double
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.
    connectTimeout number
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    receiveTimeout number
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.
    connect_timeout float
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    receive_timeout float
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.
    connectTimeout Number
    The origin-pull connection timeout (in seconds). Valid range: 5-60.
    receiveTimeout Number
    The origin-pull receipt timeout (in seconds). Valid range: 10-60.

    CdnDomainOssPrivateAccess, CdnDomainOssPrivateAccessArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    switch_ String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.
    switch string
    Configuration switch, available values: on, off (default).
    accessKey string
    Access ID.
    bucket string
    Bucket.
    region string
    Region.
    secretKey string
    Key.
    switch str
    Configuration switch, available values: on, off (default).
    access_key str
    Access ID.
    bucket str
    Bucket.
    region str
    Region.
    secret_key str
    Key.
    switch String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.

    CdnDomainOthersPrivateAccess, CdnDomainOthersPrivateAccessArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    Bucket string
    Bucket.
    Region string
    Region.
    SecretKey string
    Key.
    switch_ String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.
    switch string
    Configuration switch, available values: on, off (default).
    accessKey string
    Access ID.
    bucket string
    Bucket.
    region string
    Region.
    secretKey string
    Key.
    switch str
    Configuration switch, available values: on, off (default).
    access_key str
    Access ID.
    bucket str
    Bucket.
    region str
    Region.
    secret_key str
    Key.
    switch String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    bucket String
    Bucket.
    region String
    Region.
    secretKey String
    Key.

    CdnDomainPostMaxSize, CdnDomainPostMaxSizeArgs

    Switch string
    Configuration switch, available values: on, off (default).
    MaxSize double
    Maximum size in MB, value range is [1, 200].
    Switch string
    Configuration switch, available values: on, off (default).
    MaxSize float64
    Maximum size in MB, value range is [1, 200].
    switch_ String
    Configuration switch, available values: on, off (default).
    maxSize Double
    Maximum size in MB, value range is [1, 200].
    switch string
    Configuration switch, available values: on, off (default).
    maxSize number
    Maximum size in MB, value range is [1, 200].
    switch str
    Configuration switch, available values: on, off (default).
    max_size float
    Maximum size in MB, value range is [1, 200].
    switch String
    Configuration switch, available values: on, off (default).
    maxSize Number
    Maximum size in MB, value range is [1, 200].

    CdnDomainQnPrivateAccess, CdnDomainQnPrivateAccessArgs

    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    SecretKey string
    Key.
    Switch string
    Configuration switch, available values: on, off (default).
    AccessKey string
    Access ID.
    SecretKey string
    Key.
    switch_ String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    secretKey String
    Key.
    switch string
    Configuration switch, available values: on, off (default).
    accessKey string
    Access ID.
    secretKey string
    Key.
    switch str
    Configuration switch, available values: on, off (default).
    access_key str
    Access ID.
    secret_key str
    Key.
    switch String
    Configuration switch, available values: on, off (default).
    accessKey String
    Access ID.
    secretKey String
    Key.

    CdnDomainReferer, CdnDomainRefererArgs

    Switch string
    Configuration switch, available values: on, off (default).
    RefererRules List<CdnDomainRefererRefererRule>
    List of referer rules.
    Switch string
    Configuration switch, available values: on, off (default).
    RefererRules []CdnDomainRefererRefererRule
    List of referer rules.
    switch_ String
    Configuration switch, available values: on, off (default).
    refererRules List<CdnDomainRefererRefererRule>
    List of referer rules.
    switch string
    Configuration switch, available values: on, off (default).
    refererRules CdnDomainRefererRefererRule[]
    List of referer rules.
    switch str
    Configuration switch, available values: on, off (default).
    referer_rules Sequence[CdnDomainRefererRefererRule]
    List of referer rules.
    switch String
    Configuration switch, available values: on, off (default).
    refererRules List<Property Map>
    List of referer rules.

    CdnDomainRefererRefererRule, CdnDomainRefererRefererRuleArgs

    AllowEmpty bool
    Whether to allow emptpy.
    RefererType string
    Referer type.
    Referers List<string>
    Referer list.
    RulePaths List<string>
    Referer rule path list.
    RuleType string
    Referer rule type.
    AllowEmpty bool
    Whether to allow emptpy.
    RefererType string
    Referer type.
    Referers []string
    Referer list.
    RulePaths []string
    Referer rule path list.
    RuleType string
    Referer rule type.
    allowEmpty Boolean
    Whether to allow emptpy.
    refererType String
    Referer type.
    referers List<String>
    Referer list.
    rulePaths List<String>
    Referer rule path list.
    ruleType String
    Referer rule type.
    allowEmpty boolean
    Whether to allow emptpy.
    refererType string
    Referer type.
    referers string[]
    Referer list.
    rulePaths string[]
    Referer rule path list.
    ruleType string
    Referer rule type.
    allow_empty bool
    Whether to allow emptpy.
    referer_type str
    Referer type.
    referers Sequence[str]
    Referer list.
    rule_paths Sequence[str]
    Referer rule path list.
    rule_type str
    Referer rule type.
    allowEmpty Boolean
    Whether to allow emptpy.
    refererType String
    Referer type.
    referers List<String>
    Referer list.
    rulePaths List<String>
    Referer rule path list.
    ruleType String
    Referer rule type.

    CdnDomainRequestHeader, CdnDomainRequestHeaderArgs

    HeaderRules List<CdnDomainRequestHeaderHeaderRule>
    Custom request header configuration rules.
    Switch string
    Custom request header configuration switch. Valid values are on and off. and default value is off.
    HeaderRules []CdnDomainRequestHeaderHeaderRule
    Custom request header configuration rules.
    Switch string
    Custom request header configuration switch. Valid values are on and off. and default value is off.
    headerRules List<CdnDomainRequestHeaderHeaderRule>
    Custom request header configuration rules.
    switch_ String
    Custom request header configuration switch. Valid values are on and off. and default value is off.
    headerRules CdnDomainRequestHeaderHeaderRule[]
    Custom request header configuration rules.
    switch string
    Custom request header configuration switch. Valid values are on and off. and default value is off.
    header_rules Sequence[CdnDomainRequestHeaderHeaderRule]
    Custom request header configuration rules.
    switch str
    Custom request header configuration switch. Valid values are on and off. and default value is off.
    headerRules List<Property Map>
    Custom request header configuration rules.
    switch String
    Custom request header configuration switch. Valid values are on and off. and default value is off.

    CdnDomainRequestHeaderHeaderRule, CdnDomainRequestHeaderHeaderRuleArgs

    HeaderMode string
    Response header mode.
    HeaderName string
    response header name of rule.
    HeaderValue string
    response header value of rule.
    RulePaths List<string>
    response rule paths of rule.
    RuleType string
    response rule type of rule.
    HeaderMode string
    Response header mode.
    HeaderName string
    response header name of rule.
    HeaderValue string
    response header value of rule.
    RulePaths []string
    response rule paths of rule.
    RuleType string
    response rule type of rule.
    headerMode String
    Response header mode.
    headerName String
    response header name of rule.
    headerValue String
    response header value of rule.
    rulePaths List<String>
    response rule paths of rule.
    ruleType String
    response rule type of rule.
    headerMode string
    Response header mode.
    headerName string
    response header name of rule.
    headerValue string
    response header value of rule.
    rulePaths string[]
    response rule paths of rule.
    ruleType string
    response rule type of rule.
    header_mode str
    Response header mode.
    header_name str
    response header name of rule.
    header_value str
    response header value of rule.
    rule_paths Sequence[str]
    response rule paths of rule.
    rule_type str
    response rule type of rule.
    headerMode String
    Response header mode.
    headerName String
    response header name of rule.
    headerValue String
    response header value of rule.
    rulePaths List<String>
    response rule paths of rule.
    ruleType String
    response rule type of rule.

    CdnDomainResponseHeader, CdnDomainResponseHeaderArgs

    Switch string
    Configuration switch, available values: on, off (default).
    HeaderRules List<CdnDomainResponseHeaderHeaderRule>
    List of response header rule.
    Switch string
    Configuration switch, available values: on, off (default).
    HeaderRules []CdnDomainResponseHeaderHeaderRule
    List of response header rule.
    switch_ String
    Configuration switch, available values: on, off (default).
    headerRules List<CdnDomainResponseHeaderHeaderRule>
    List of response header rule.
    switch string
    Configuration switch, available values: on, off (default).
    headerRules CdnDomainResponseHeaderHeaderRule[]
    List of response header rule.
    switch str
    Configuration switch, available values: on, off (default).
    header_rules Sequence[CdnDomainResponseHeaderHeaderRule]
    List of response header rule.
    switch String
    Configuration switch, available values: on, off (default).
    headerRules List<Property Map>
    List of response header rule.

    CdnDomainResponseHeaderHeaderRule, CdnDomainResponseHeaderHeaderRuleArgs

    HeaderMode string
    Response header mode.
    HeaderName string
    response header name of rule.
    HeaderValue string
    response header value of rule.
    RulePaths List<string>
    response rule paths of rule.
    RuleType string
    response rule type of rule.
    HeaderMode string
    Response header mode.
    HeaderName string
    response header name of rule.
    HeaderValue string
    response header value of rule.
    RulePaths []string
    response rule paths of rule.
    RuleType string
    response rule type of rule.
    headerMode String
    Response header mode.
    headerName String
    response header name of rule.
    headerValue String
    response header value of rule.
    rulePaths List<String>
    response rule paths of rule.
    ruleType String
    response rule type of rule.
    headerMode string
    Response header mode.
    headerName string
    response header name of rule.
    headerValue string
    response header value of rule.
    rulePaths string[]
    response rule paths of rule.
    ruleType string
    response rule type of rule.
    header_mode str
    Response header mode.
    header_name str
    response header name of rule.
    header_value str
    response header value of rule.
    rule_paths Sequence[str]
    response rule paths of rule.
    rule_type str
    response rule type of rule.
    headerMode String
    Response header mode.
    headerName String
    response header name of rule.
    headerValue String
    response header value of rule.
    rulePaths List<String>
    response rule paths of rule.
    ruleType String
    response rule type of rule.

    CdnDomainRuleCach, CdnDomainRuleCachArgs

    CacheTime double
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    CompareMaxAge string
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    FollowOriginSwitch string
    Follow the source station configuration switch. Valid values are on and off.
    HeuristicCacheSwitch string
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    HeuristicCacheTime double
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    IgnoreCacheControl string
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    IgnoreSetCookie string
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    NoCacheSwitch string
    Cache configuration switch. Valid values are on and off.
    ReValidate string
    Always check back to origin. Valid values are on and off. Default value is off.
    RulePaths List<string>
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    RuleType string
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    Switch string
    Cache configuration switch. Valid values are on and off.
    CacheTime float64
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    CompareMaxAge string
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    FollowOriginSwitch string
    Follow the source station configuration switch. Valid values are on and off.
    HeuristicCacheSwitch string
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    HeuristicCacheTime float64
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    IgnoreCacheControl string
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    IgnoreSetCookie string
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    NoCacheSwitch string
    Cache configuration switch. Valid values are on and off.
    ReValidate string
    Always check back to origin. Valid values are on and off. Default value is off.
    RulePaths []string
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    RuleType string
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    Switch string
    Cache configuration switch. Valid values are on and off.
    cacheTime Double
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    compareMaxAge String
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    followOriginSwitch String
    Follow the source station configuration switch. Valid values are on and off.
    heuristicCacheSwitch String
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    heuristicCacheTime Double
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    ignoreCacheControl String
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    ignoreSetCookie String
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    noCacheSwitch String
    Cache configuration switch. Valid values are on and off.
    reValidate String
    Always check back to origin. Valid values are on and off. Default value is off.
    rulePaths List<String>
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    ruleType String
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    switch_ String
    Cache configuration switch. Valid values are on and off.
    cacheTime number
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    compareMaxAge string
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    followOriginSwitch string
    Follow the source station configuration switch. Valid values are on and off.
    heuristicCacheSwitch string
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    heuristicCacheTime number
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    ignoreCacheControl string
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    ignoreSetCookie string
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    noCacheSwitch string
    Cache configuration switch. Valid values are on and off.
    reValidate string
    Always check back to origin. Valid values are on and off. Default value is off.
    rulePaths string[]
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    ruleType string
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    switch string
    Cache configuration switch. Valid values are on and off.
    cache_time float
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    compare_max_age str
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    follow_origin_switch str
    Follow the source station configuration switch. Valid values are on and off.
    heuristic_cache_switch str
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    heuristic_cache_time float
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    ignore_cache_control str
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    ignore_set_cookie str
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    no_cache_switch str
    Cache configuration switch. Valid values are on and off.
    re_validate str
    Always check back to origin. Valid values are on and off. Default value is off.
    rule_paths Sequence[str]
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    rule_type str
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    switch str
    Cache configuration switch. Valid values are on and off.
    cacheTime Number
    Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
    compareMaxAge String
    Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are on and off. Default value is off.
    followOriginSwitch String
    Follow the source station configuration switch. Valid values are on and off.
    heuristicCacheSwitch String
    Specify whether to enable heuristic cache, only available while follow_origin_switch enabled, values: on, off (Default).
    heuristicCacheTime Number
    Specify heuristic cache time in second, only available while follow_origin_switch and heuristic_cache_switch enabled.
    ignoreCacheControl String
    Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are on and off. Default value is off.
    ignoreSetCookie String
    Ignore the Set-Cookie header of the origin site. Valid values are on and off. Default value is off. This parameter is for white-list customer.
    noCacheSwitch String
    Cache configuration switch. Valid values are on and off.
    reValidate String
    Always check back to origin. Valid values are on and off. Default value is off.
    rulePaths List<String>
    Matching content under the corresponding type of CacheType: all: fill *, file: fill in the suffix name, such as jpg, txt, directory: fill in the path, such as /xxx/test, path: fill in the absolute path, such as /xxx/test.html, index: fill /.
    ruleType String
    Rule type. The following types are supported: all: all documents take effect, file: the specified file suffix takes effect, directory: the specified path takes effect, path: specify the absolute path to take effect, index: home page.
    switch String
    Cache configuration switch. Valid values are on and off.

    CdnDomainStatusCodeCache, CdnDomainStatusCodeCacheArgs

    Switch string
    Configuration switch, available values: on, off (default).
    CacheRules List<CdnDomainStatusCodeCacheCacheRule>
    List of cache rule.
    Switch string
    Configuration switch, available values: on, off (default).
    CacheRules []CdnDomainStatusCodeCacheCacheRule
    List of cache rule.
    switch_ String
    Configuration switch, available values: on, off (default).
    cacheRules List<CdnDomainStatusCodeCacheCacheRule>
    List of cache rule.
    switch string
    Configuration switch, available values: on, off (default).
    cacheRules CdnDomainStatusCodeCacheCacheRule[]
    List of cache rule.
    switch str
    Configuration switch, available values: on, off (default).
    cache_rules Sequence[CdnDomainStatusCodeCacheCacheRule]
    List of cache rule.
    switch String
    Configuration switch, available values: on, off (default).
    cacheRules List<Property Map>
    List of cache rule.

    CdnDomainStatusCodeCacheCacheRule, CdnDomainStatusCodeCacheCacheRuleArgs

    CacheTime double
    Status code cache expiration time (in seconds).
    StatusCode string
    Code of status cache. available values: 403, 404.
    CacheTime float64
    Status code cache expiration time (in seconds).
    StatusCode string
    Code of status cache. available values: 403, 404.
    cacheTime Double
    Status code cache expiration time (in seconds).
    statusCode String
    Code of status cache. available values: 403, 404.
    cacheTime number
    Status code cache expiration time (in seconds).
    statusCode string
    Code of status cache. available values: 403, 404.
    cache_time float
    Status code cache expiration time (in seconds).
    status_code str
    Code of status cache. available values: 403, 404.
    cacheTime Number
    Status code cache expiration time (in seconds).
    statusCode String
    Code of status cache. available values: 403, 404.

    Import

    CDN domain can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/cdnDomain:CdnDomain foo xxxx.com
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack