1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CdnDomain
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.CdnDomain

Explore with Pulumi AI

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",
    },
});
Copy
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",
    })
Copy
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
	})
}
Copy
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" },
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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",
    },
});
Copy
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",
    })
Copy
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
	})
}
Copy
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" },
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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",
    },
});
Copy
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",
    })
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. CdnDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. CdnDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CdnDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. string
Name of the acceleration domain.
Origin This property is required. CdnDomainOrigin
Origin server configuration. It's a list and consist of at most one item.
ServiceType This property is required. 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 This property is required. string
Name of the acceleration domain.
Origin This property is required. CdnDomainOriginArgs
Origin server configuration. It's a list and consist of at most one item.
ServiceType This property is required. 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 This property is required. String
Name of the acceleration domain.
origin This property is required. CdnDomainOrigin
Origin server configuration. It's a list and consist of at most one item.
serviceType This property is required. 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 This property is required. string
Name of the acceleration domain.
origin This property is required. CdnDomainOrigin
Origin server configuration. It's a list and consist of at most one item.
serviceType This property is required. 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 This property is required. str
Name of the acceleration domain.
origin This property is required. CdnDomainOriginArgs
Origin server configuration. It's a list and consist of at most one item.
service_type This property is required. 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 This property is required. String
Name of the acceleration domain.
origin This property is required. Property Map
Origin server configuration. It's a list and consist of at most one item.
serviceType This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. double
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. List<string>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. string
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
SignParam This property is required. 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 This property is required. float64
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. []string
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. string
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
SignParam This property is required. 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 This property is required. Double
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. String
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
signParam This property is required. 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 This property is required. number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. string[]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. string
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
signParam This property is required. 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 This property is required. float
Signature expiration time in second. The maximum value is 630720000.
file_extensions This property is required. Sequence[str]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filter_type This property is required. str
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secret_key This property is required. str
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
sign_param This property is required. 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 This property is required. Number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. String
The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
signParam This property is required. 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 This property is required. double
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. List<string>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. float64
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. []string
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. Double
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. string[]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. float
Signature expiration time in second. The maximum value is 630720000.
file_extensions This property is required. Sequence[str]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filter_type This property is required. str
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secret_key This property is required. 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 This property is required. Number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. double
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. List<string>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. float64
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. []string
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. Double
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. string[]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. float
Signature expiration time in second. The maximum value is 630720000.
file_extensions This property is required. Sequence[str]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filter_type This property is required. str
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secret_key This property is required. 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 This property is required. Number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. double
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. List<string>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. float64
Signature expiration time in second. The maximum value is 630720000.
FileExtensions This property is required. []string
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
FilterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
SecretKey This property is required. 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 This property is required. Double
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. string[]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. string
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. float
Signature expiration time in second. The maximum value is 630720000.
file_extensions This property is required. Sequence[str]
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filter_type This property is required. str
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secret_key This property is required. 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 This property is required. Number
Signature expiration time in second. The maximum value is 630720000.
fileExtensions This property is required. List<String>
File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
filterType This property is required. String
Available values: whitelist - all types apart from file_extensions are authenticated, blacklist: - only the types in the file_extensions are authenticated.
secretKey This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
AccessKey string
Access ID.
Bucket string
Bucket.
Region string
Region.
SecretKey string
Key.
Switch This property is required. string
Configuration switch, available values: on, off (default).
AccessKey string
Access ID.
Bucket string
Bucket.
Region string
Region.
SecretKey string
Key.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
accessKey String
Access ID.
bucket String
Bucket.
region String
Region.
secretKey String
Key.
switch This property is required. string
Configuration switch, available values: on, off (default).
accessKey string
Access ID.
bucket string
Bucket.
region string
Region.
secretKey string
Key.
switch This property is required. str
Configuration switch, available values: on, off (default).
access_key str
Access ID.
bucket str
Bucket.
region str
Region.
secret_key str
Key.
switch This property is required. String
Configuration switch, available values: on, off (default).
accessKey String
Access ID.
bucket String
Bucket.
region String
Region.
secretKey String
Key.

CdnDomainBandWidthAlert
, CdnDomainBandWidthAlertArgs

Switch This property is required. 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 This property is required. 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_ This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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_ This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. CdnDomainCacheKeyKeyRuleQueryString
Request parameter contained in CacheKey.
RulePaths This property is required. 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 This property is required. 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 This property is required. CdnDomainCacheKeyKeyRuleQueryString
Request parameter contained in CacheKey.
RulePaths This property is required. []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 This property is required. 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 This property is required. CdnDomainCacheKeyKeyRuleQueryString
Request parameter contained in CacheKey.
rulePaths This property is required. 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 This property is required. 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 This property is required. CdnDomainCacheKeyKeyRuleQueryString
Request parameter contained in CacheKey.
rulePaths This property is required. 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 This property is required. 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 This property is required. CdnDomainCacheKeyKeyRuleQueryString
Request parameter contained in CacheKey.
rule_paths This property is required. 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 This property is required. 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 This property is required. Property Map
Request parameter contained in CacheKey.
rulePaths This property is required. 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 This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
CompressionRules List<CdnDomainCompressionCompressionRule>
List of compression rules.
Switch This property is required. string
Configuration switch, available values: on, off (default).
CompressionRules []CdnDomainCompressionCompressionRule
List of compression rules.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
compressionRules List<CdnDomainCompressionCompressionRule>
List of compression rules.
switch This property is required. string
Configuration switch, available values: on, off (default).
compressionRules CdnDomainCompressionCompressionRule[]
List of compression rules.
switch This property is required. str
Configuration switch, available values: on, off (default).
compression_rules Sequence[CdnDomainCompressionCompressionRule]
List of compression rules.
switch This property is required. String
Configuration switch, available values: on, off (default).
compressionRules List<Property Map>
List of compression rules.

CdnDomainCompressionCompressionRule
, CdnDomainCompressionCompressionRuleArgs

Algorithms This property is required. List<string>
List of algorithms, available: gzip and brotli.
Compress This property is required. bool
Must be set as true, enables compression.
MaxLength This property is required. double
The maximum file size to trigger compression (in bytes).
MinLength This property is required. 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 This property is required. []string
List of algorithms, available: gzip and brotli.
Compress This property is required. bool
Must be set as true, enables compression.
MaxLength This property is required. float64
The maximum file size to trigger compression (in bytes).
MinLength This property is required. 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 This property is required. List<String>
List of algorithms, available: gzip and brotli.
compress This property is required. Boolean
Must be set as true, enables compression.
maxLength This property is required. Double
The maximum file size to trigger compression (in bytes).
minLength This property is required. 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 This property is required. string[]
List of algorithms, available: gzip and brotli.
compress This property is required. boolean
Must be set as true, enables compression.
maxLength This property is required. number
The maximum file size to trigger compression (in bytes).
minLength This property is required. 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 This property is required. Sequence[str]
List of algorithms, available: gzip and brotli.
compress This property is required. bool
Must be set as true, enables compression.
max_length This property is required. float
The maximum file size to trigger compression (in bytes).
min_length This property is required. 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 This property is required. List<String>
List of algorithms, available: gzip and brotli.
compress This property is required. Boolean
Must be set as true, enables compression.
maxLength This property is required. Number
The maximum file size to trigger compression (in bytes).
minLength This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
CappingRules List<CdnDomainDownstreamCappingCappingRule>
List of capping rule.
Switch This property is required. string
Configuration switch, available values: on, off (default).
CappingRules []CdnDomainDownstreamCappingCappingRule
List of capping rule.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
cappingRules List<CdnDomainDownstreamCappingCappingRule>
List of capping rule.
switch This property is required. string
Configuration switch, available values: on, off (default).
cappingRules CdnDomainDownstreamCappingCappingRule[]
List of capping rule.
switch This property is required. str
Configuration switch, available values: on, off (default).
capping_rules Sequence[CdnDomainDownstreamCappingCappingRule]
List of capping rule.
switch This property is required. String
Configuration switch, available values: on, off (default).
cappingRules List<Property Map>
List of capping rule.

CdnDomainDownstreamCappingCappingRule
, CdnDomainDownstreamCappingCappingRuleArgs

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

CdnDomainErrorPage
, CdnDomainErrorPageArgs

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

CdnDomainErrorPagePageRule
, CdnDomainErrorPagePageRuleArgs

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

CdnDomainHttpsConfig
, CdnDomainHttpsConfigArgs

HttpsSwitch This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
AccessKey string
Access ID.
Bucket string
Bucket.
SecretKey string
Key.
Switch This property is required. string
Configuration switch, available values: on, off (default).
AccessKey string
Access ID.
Bucket string
Bucket.
SecretKey string
Key.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
accessKey String
Access ID.
bucket String
Bucket.
secretKey String
Key.
switch This property is required. string
Configuration switch, available values: on, off (default).
accessKey string
Access ID.
bucket string
Bucket.
secretKey string
Key.
switch This property is required. str
Configuration switch, available values: on, off (default).
access_key str
Access ID.
bucket str
Bucket.
secret_key str
Key.
switch This property is required. String
Configuration switch, available values: on, off (default).
accessKey String
Access ID.
bucket String
Bucket.
secretKey String
Key.

CdnDomainIpFilter
, CdnDomainIpFilterArgs

Switch This property is required. 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 This property is required. 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_ This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Ip filter blacklist/whitelist type of filter rules.
Filters This property is required. 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 This property is required. 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 This property is required. string
Ip filter rule type of filter rules, available: all, file, directory, path.
FilterType This property is required. string
Ip filter blacklist/whitelist type of filter rules.
Filters This property is required. []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 This property is required. []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 This property is required. string
Ip filter rule type of filter rules, available: all, file, directory, path.
filterType This property is required. String
Ip filter blacklist/whitelist type of filter rules.
filters This property is required. 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 This property is required. 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 This property is required. String
Ip filter rule type of filter rules, available: all, file, directory, path.
filterType This property is required. string
Ip filter blacklist/whitelist type of filter rules.
filters This property is required. 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 This property is required. 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 This property is required. string
Ip filter rule type of filter rules, available: all, file, directory, path.
filter_type This property is required. str
Ip filter blacklist/whitelist type of filter rules.
filters This property is required. 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 This property is required. 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 This property is required. str
Ip filter rule type of filter rules, available: all, file, directory, path.
filterType This property is required. String
Ip filter blacklist/whitelist type of filter rules.
filters This property is required. 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 This property is required. 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 This property is required. String
Ip filter rule type of filter rules, available: all, file, directory, path.

CdnDomainIpFreqLimit
, CdnDomainIpFreqLimitArgs

Switch This property is required. 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 This property is required. 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_ This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
MaxAgeRules List<CdnDomainMaxAgeMaxAgeRule>
List of Max Age rule configuration.
Switch This property is required. string
Configuration switch, available values: on, off (default).
MaxAgeRules []CdnDomainMaxAgeMaxAgeRule
List of Max Age rule configuration.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
maxAgeRules List<CdnDomainMaxAgeMaxAgeRule>
List of Max Age rule configuration.
switch This property is required. string
Configuration switch, available values: on, off (default).
maxAgeRules CdnDomainMaxAgeMaxAgeRule[]
List of Max Age rule configuration.
switch This property is required. str
Configuration switch, available values: on, off (default).
max_age_rules Sequence[CdnDomainMaxAgeMaxAgeRule]
List of Max Age rule configuration.
switch This property is required. String
Configuration switch, available values: on, off (default).
maxAgeRules List<Property Map>
List of Max Age rule configuration.

CdnDomainMaxAgeMaxAgeRule
, CdnDomainMaxAgeMaxAgeRuleArgs

MaxAgeContents This property is required. 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 This property is required. double
Max Age time in seconds, this can set to 0 that stands for no cache.
MaxAgeType This property is required. 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 This property is required. []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 This property is required. float64
Max Age time in seconds, this can set to 0 that stands for no cache.
MaxAgeType This property is required. 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 This property is required. 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 This property is required. Double
Max Age time in seconds, this can set to 0 that stands for no cache.
maxAgeType This property is required. 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 This property is required. 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 This property is required. number
Max Age time in seconds, this can set to 0 that stands for no cache.
maxAgeType This property is required. 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 This property is required. 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 This property is required. float
Max Age time in seconds, this can set to 0 that stands for no cache.
max_age_type This property is required. 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 This property is required. 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 This property is required. Number
Max Age time in seconds, this can set to 0 that stands for no cache.
maxAgeType This property is required. 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 This property is required. 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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
OptimizationType string
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
Switch This property is required. string
Configuration switch, available values: on, off (default).
OptimizationType string
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
optimizationType String
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
switch This property is required. string
Configuration switch, available values: on, off (default).
optimizationType string
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
switch This property is required. str
Configuration switch, available values: on, off (default).
optimization_type str
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.
switch This property is required. String
Configuration switch, available values: on, off (default).
optimizationType String
Optimization type, values: OVToCN - Overseas to CN, CNToOV CN to Overseas.

CdnDomainOriginPullTimeout
, CdnDomainOriginPullTimeoutArgs

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

CdnDomainOssPrivateAccess
, CdnDomainOssPrivateAccessArgs

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

CdnDomainOthersPrivateAccess
, CdnDomainOthersPrivateAccessArgs

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

CdnDomainPostMaxSize
, CdnDomainPostMaxSizeArgs

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

CdnDomainQnPrivateAccess
, CdnDomainQnPrivateAccessArgs

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

CdnDomainReferer
, CdnDomainRefererArgs

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

CdnDomainRefererRefererRule
, CdnDomainRefererRefererRuleArgs

AllowEmpty This property is required. bool
Whether to allow emptpy.
RefererType This property is required. string
Referer type.
Referers This property is required. List<string>
Referer list.
RulePaths This property is required. List<string>
Referer rule path list.
RuleType This property is required. string
Referer rule type.
AllowEmpty This property is required. bool
Whether to allow emptpy.
RefererType This property is required. string
Referer type.
Referers This property is required. []string
Referer list.
RulePaths This property is required. []string
Referer rule path list.
RuleType This property is required. string
Referer rule type.
allowEmpty This property is required. Boolean
Whether to allow emptpy.
refererType This property is required. String
Referer type.
referers This property is required. List<String>
Referer list.
rulePaths This property is required. List<String>
Referer rule path list.
ruleType This property is required. String
Referer rule type.
allowEmpty This property is required. boolean
Whether to allow emptpy.
refererType This property is required. string
Referer type.
referers This property is required. string[]
Referer list.
rulePaths This property is required. string[]
Referer rule path list.
ruleType This property is required. string
Referer rule type.
allow_empty This property is required. bool
Whether to allow emptpy.
referer_type This property is required. str
Referer type.
referers This property is required. Sequence[str]
Referer list.
rule_paths This property is required. Sequence[str]
Referer rule path list.
rule_type This property is required. str
Referer rule type.
allowEmpty This property is required. Boolean
Whether to allow emptpy.
refererType This property is required. String
Referer type.
referers This property is required. List<String>
Referer list.
rulePaths This property is required. List<String>
Referer rule path list.
ruleType This property is required. 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 This property is required. string
Response header mode.
HeaderName This property is required. string
response header name of rule.
HeaderValue This property is required. string
response header value of rule.
RulePaths This property is required. List<string>
response rule paths of rule.
RuleType This property is required. string
response rule type of rule.
HeaderMode This property is required. string
Response header mode.
HeaderName This property is required. string
response header name of rule.
HeaderValue This property is required. string
response header value of rule.
RulePaths This property is required. []string
response rule paths of rule.
RuleType This property is required. string
response rule type of rule.
headerMode This property is required. String
Response header mode.
headerName This property is required. String
response header name of rule.
headerValue This property is required. String
response header value of rule.
rulePaths This property is required. List<String>
response rule paths of rule.
ruleType This property is required. String
response rule type of rule.
headerMode This property is required. string
Response header mode.
headerName This property is required. string
response header name of rule.
headerValue This property is required. string
response header value of rule.
rulePaths This property is required. string[]
response rule paths of rule.
ruleType This property is required. string
response rule type of rule.
header_mode This property is required. str
Response header mode.
header_name This property is required. str
response header name of rule.
header_value This property is required. str
response header value of rule.
rule_paths This property is required. Sequence[str]
response rule paths of rule.
rule_type This property is required. str
response rule type of rule.
headerMode This property is required. String
Response header mode.
headerName This property is required. String
response header name of rule.
headerValue This property is required. String
response header value of rule.
rulePaths This property is required. List<String>
response rule paths of rule.
ruleType This property is required. String
response rule type of rule.

CdnDomainResponseHeader
, CdnDomainResponseHeaderArgs

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

CdnDomainResponseHeaderHeaderRule
, CdnDomainResponseHeaderHeaderRuleArgs

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

CdnDomainRuleCach
, CdnDomainRuleCachArgs

CacheTime This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
Configuration switch, available values: on, off (default).
CacheRules List<CdnDomainStatusCodeCacheCacheRule>
List of cache rule.
Switch This property is required. string
Configuration switch, available values: on, off (default).
CacheRules []CdnDomainStatusCodeCacheCacheRule
List of cache rule.
switch_ This property is required. String
Configuration switch, available values: on, off (default).
cacheRules List<CdnDomainStatusCodeCacheCacheRule>
List of cache rule.
switch This property is required. string
Configuration switch, available values: on, off (default).
cacheRules CdnDomainStatusCodeCacheCacheRule[]
List of cache rule.
switch This property is required. str
Configuration switch, available values: on, off (default).
cache_rules Sequence[CdnDomainStatusCodeCacheCacheRule]
List of cache rule.
switch This property is required. String
Configuration switch, available values: on, off (default).
cacheRules List<Property Map>
List of cache rule.

CdnDomainStatusCodeCacheCacheRule
, CdnDomainStatusCodeCacheCacheRuleArgs

CacheTime This property is required. double
Status code cache expiration time (in seconds).
StatusCode This property is required. string
Code of status cache. available values: 403, 404.
CacheTime This property is required. float64
Status code cache expiration time (in seconds).
StatusCode This property is required. string
Code of status cache. available values: 403, 404.
cacheTime This property is required. Double
Status code cache expiration time (in seconds).
statusCode This property is required. String
Code of status cache. available values: 403, 404.
cacheTime This property is required. number
Status code cache expiration time (in seconds).
statusCode This property is required. string
Code of status cache. available values: 403, 404.
cache_time This property is required. float
Status code cache expiration time (in seconds).
status_code This property is required. str
Code of status cache. available values: 403, 404.
cacheTime This property is required. Number
Status code cache expiration time (in seconds).
statusCode This property is required. 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
Copy

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.