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",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.CdnDomain("foo",
area="mainland",
domain="xxxx.com",
full_url_cache=False,
https_config={
"force_redirect": {
"redirect_status_code": 302,
"redirect_type": "http",
"switch": "on",
},
"http2_switch": "off",
"https_switch": "off",
"ocsp_stapling_switch": "off",
"spdy_switch": "off",
"verify_client": "off",
},
origin={
"origin_lists": ["127.0.0.1"],
"origin_pull_protocol": "follow",
"origin_type": "ip",
},
service_type="web",
tags={
"hello": "world",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCdnDomain(ctx, "foo", &tencentcloud.CdnDomainArgs{
Area: pulumi.String("mainland"),
Domain: pulumi.String("xxxx.com"),
FullUrlCache: pulumi.Bool(false),
HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
ForceRedirect: &tencentcloud.CdnDomainHttpsConfigForceRedirectArgs{
RedirectStatusCode: pulumi.Float64(302),
RedirectType: pulumi.String("http"),
Switch: pulumi.String("on"),
},
Http2Switch: pulumi.String("off"),
HttpsSwitch: pulumi.String("off"),
OcspStaplingSwitch: pulumi.String("off"),
SpdySwitch: pulumi.String("off"),
VerifyClient: pulumi.String("off"),
},
Origin: &tencentcloud.CdnDomainOriginArgs{
OriginLists: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
OriginPullProtocol: pulumi.String("follow"),
OriginType: pulumi.String("ip"),
},
ServiceType: pulumi.String("web"),
Tags: pulumi.StringMap{
"hello": pulumi.String("world"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.CdnDomain("foo", new()
{
Area = "mainland",
Domain = "xxxx.com",
FullUrlCache = false,
HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
{
ForceRedirect = new Tencentcloud.Inputs.CdnDomainHttpsConfigForceRedirectArgs
{
RedirectStatusCode = 302,
RedirectType = "http",
Switch = "on",
},
Http2Switch = "off",
HttpsSwitch = "off",
OcspStaplingSwitch = "off",
SpdySwitch = "off",
VerifyClient = "off",
},
Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
{
OriginLists = new[]
{
"127.0.0.1",
},
OriginPullProtocol = "follow",
OriginType = "ip",
},
ServiceType = "web",
Tags =
{
{ "hello", "world" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdnDomain;
import com.pulumi.tencentcloud.CdnDomainArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigForceRedirectArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new CdnDomain("foo", CdnDomainArgs.builder()
.area("mainland")
.domain("xxxx.com")
.fullUrlCache(false)
.httpsConfig(CdnDomainHttpsConfigArgs.builder()
.forceRedirect(CdnDomainHttpsConfigForceRedirectArgs.builder()
.redirectStatusCode(302)
.redirectType("http")
.switch_("on")
.build())
.http2Switch("off")
.httpsSwitch("off")
.ocspStaplingSwitch("off")
.spdySwitch("off")
.verifyClient("off")
.build())
.origin(CdnDomainOriginArgs.builder()
.originLists("127.0.0.1")
.originPullProtocol("follow")
.originType("ip")
.build())
.serviceType("web")
.tags(Map.of("hello", "world"))
.build());
}
}
resources:
foo:
type: tencentcloud:CdnDomain
properties:
area: mainland
domain: xxxx.com
fullUrlCache: false
httpsConfig:
forceRedirect:
redirectStatusCode: 302
redirectType: http
switch: on
http2Switch: off
httpsSwitch: off
ocspStaplingSwitch: off
spdySwitch: off
verifyClient: off
origin:
originLists:
- 127.0.0.1
originPullProtocol: follow
originType: ip
serviceType: web
tags:
hello: world
Example Usage of cdn uses cache and request headers
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.CdnDomain("foo", {
area: "mainland",
cacheKey: {
fullUrlCache: "on",
},
domain: "xxxx.com",
httpsConfig: {
forceRedirect: {
redirectStatusCode: 302,
redirectType: "http",
"switch": "on",
},
http2Switch: "off",
httpsSwitch: "off",
ocspStaplingSwitch: "off",
spdySwitch: "off",
verifyClient: "off",
},
origin: {
originLists: ["127.0.0.1"],
originPullProtocol: "follow",
originType: "ip",
},
rangeOriginSwitch: "off",
requestHeader: {
headerRules: [{
headerMode: "add",
headerName: "tf-header-name",
headerValue: "tf-header-value",
rulePaths: ["*"],
ruleType: "all",
}],
"switch": "on",
},
ruleCaches: [{
cacheTime: 10000,
noCacheSwitch: "on",
reValidate: "on",
}],
serviceType: "web",
tags: {
hello: "world",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.CdnDomain("foo",
area="mainland",
cache_key={
"full_url_cache": "on",
},
domain="xxxx.com",
https_config={
"force_redirect": {
"redirect_status_code": 302,
"redirect_type": "http",
"switch": "on",
},
"http2_switch": "off",
"https_switch": "off",
"ocsp_stapling_switch": "off",
"spdy_switch": "off",
"verify_client": "off",
},
origin={
"origin_lists": ["127.0.0.1"],
"origin_pull_protocol": "follow",
"origin_type": "ip",
},
range_origin_switch="off",
request_header={
"header_rules": [{
"header_mode": "add",
"header_name": "tf-header-name",
"header_value": "tf-header-value",
"rule_paths": ["*"],
"rule_type": "all",
}],
"switch": "on",
},
rule_caches=[{
"cache_time": 10000,
"no_cache_switch": "on",
"re_validate": "on",
}],
service_type="web",
tags={
"hello": "world",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCdnDomain(ctx, "foo", &tencentcloud.CdnDomainArgs{
Area: pulumi.String("mainland"),
CacheKey: &tencentcloud.CdnDomainCacheKeyArgs{
FullUrlCache: pulumi.String("on"),
},
Domain: pulumi.String("xxxx.com"),
HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
ForceRedirect: &tencentcloud.CdnDomainHttpsConfigForceRedirectArgs{
RedirectStatusCode: pulumi.Float64(302),
RedirectType: pulumi.String("http"),
Switch: pulumi.String("on"),
},
Http2Switch: pulumi.String("off"),
HttpsSwitch: pulumi.String("off"),
OcspStaplingSwitch: pulumi.String("off"),
SpdySwitch: pulumi.String("off"),
VerifyClient: pulumi.String("off"),
},
Origin: &tencentcloud.CdnDomainOriginArgs{
OriginLists: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
OriginPullProtocol: pulumi.String("follow"),
OriginType: pulumi.String("ip"),
},
RangeOriginSwitch: pulumi.String("off"),
RequestHeader: &tencentcloud.CdnDomainRequestHeaderArgs{
HeaderRules: tencentcloud.CdnDomainRequestHeaderHeaderRuleArray{
&tencentcloud.CdnDomainRequestHeaderHeaderRuleArgs{
HeaderMode: pulumi.String("add"),
HeaderName: pulumi.String("tf-header-name"),
HeaderValue: pulumi.String("tf-header-value"),
RulePaths: pulumi.StringArray{
pulumi.String("*"),
},
RuleType: pulumi.String("all"),
},
},
Switch: pulumi.String("on"),
},
RuleCaches: tencentcloud.CdnDomainRuleCachArray{
&tencentcloud.CdnDomainRuleCachArgs{
CacheTime: pulumi.Float64(10000),
NoCacheSwitch: pulumi.String("on"),
ReValidate: pulumi.String("on"),
},
},
ServiceType: pulumi.String("web"),
Tags: pulumi.StringMap{
"hello": pulumi.String("world"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.CdnDomain("foo", new()
{
Area = "mainland",
CacheKey = new Tencentcloud.Inputs.CdnDomainCacheKeyArgs
{
FullUrlCache = "on",
},
Domain = "xxxx.com",
HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
{
ForceRedirect = new Tencentcloud.Inputs.CdnDomainHttpsConfigForceRedirectArgs
{
RedirectStatusCode = 302,
RedirectType = "http",
Switch = "on",
},
Http2Switch = "off",
HttpsSwitch = "off",
OcspStaplingSwitch = "off",
SpdySwitch = "off",
VerifyClient = "off",
},
Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
{
OriginLists = new[]
{
"127.0.0.1",
},
OriginPullProtocol = "follow",
OriginType = "ip",
},
RangeOriginSwitch = "off",
RequestHeader = new Tencentcloud.Inputs.CdnDomainRequestHeaderArgs
{
HeaderRules = new[]
{
new Tencentcloud.Inputs.CdnDomainRequestHeaderHeaderRuleArgs
{
HeaderMode = "add",
HeaderName = "tf-header-name",
HeaderValue = "tf-header-value",
RulePaths = new[]
{
"*",
},
RuleType = "all",
},
},
Switch = "on",
},
RuleCaches = new[]
{
new Tencentcloud.Inputs.CdnDomainRuleCachArgs
{
CacheTime = 10000,
NoCacheSwitch = "on",
ReValidate = "on",
},
},
ServiceType = "web",
Tags =
{
{ "hello", "world" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CdnDomain;
import com.pulumi.tencentcloud.CdnDomainArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainCacheKeyArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigForceRedirectArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainRequestHeaderArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainRuleCachArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new CdnDomain("foo", CdnDomainArgs.builder()
.area("mainland")
.cacheKey(CdnDomainCacheKeyArgs.builder()
.fullUrlCache("on")
.build())
.domain("xxxx.com")
.httpsConfig(CdnDomainHttpsConfigArgs.builder()
.forceRedirect(CdnDomainHttpsConfigForceRedirectArgs.builder()
.redirectStatusCode(302)
.redirectType("http")
.switch_("on")
.build())
.http2Switch("off")
.httpsSwitch("off")
.ocspStaplingSwitch("off")
.spdySwitch("off")
.verifyClient("off")
.build())
.origin(CdnDomainOriginArgs.builder()
.originLists("127.0.0.1")
.originPullProtocol("follow")
.originType("ip")
.build())
.rangeOriginSwitch("off")
.requestHeader(CdnDomainRequestHeaderArgs.builder()
.headerRules(CdnDomainRequestHeaderHeaderRuleArgs.builder()
.headerMode("add")
.headerName("tf-header-name")
.headerValue("tf-header-value")
.rulePaths("*")
.ruleType("all")
.build())
.switch_("on")
.build())
.ruleCaches(CdnDomainRuleCachArgs.builder()
.cacheTime(10000)
.noCacheSwitch("on")
.reValidate("on")
.build())
.serviceType("web")
.tags(Map.of("hello", "world"))
.build());
}
}
resources:
foo:
type: tencentcloud:CdnDomain
properties:
area: mainland
# full_url_cache = true # Deprecated, use cache_key below.
cacheKey:
fullUrlCache: on
domain: xxxx.com
httpsConfig:
forceRedirect:
redirectStatusCode: 302
redirectType: http
switch: on
http2Switch: off
httpsSwitch: off
ocspStaplingSwitch: off
spdySwitch: off
verifyClient: off
origin:
originLists:
- 127.0.0.1
originPullProtocol: follow
originType: ip
rangeOriginSwitch: off
requestHeader:
headerRules:
- headerMode: add
headerName: tf-header-name
headerValue: tf-header-value
rulePaths:
- '*'
ruleType: all
switch: on
ruleCaches:
- cacheTime: 10000
noCacheSwitch: on
reValidate: on
serviceType: web
tags:
hello: world
Example Usage of COS bucket url as origin
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const bucket = new tencentcloud.CosBucket("bucket", {
bucket: "demo-bucket-1251234567",
acl: "private",
});
// Create cdn domain
const cdn = new tencentcloud.CdnDomain("cdn", {
domain: "abc.com",
serviceType: "web",
area: "mainland",
cacheKey: {
fullUrlCache: "off",
},
origin: {
originType: "cos",
originLists: [bucket.cosBucketUrl],
serverName: bucket.cosBucketUrl,
originPullProtocol: "follow",
cosPrivateAccess: "on",
},
httpsConfig: {
httpsSwitch: "off",
http2Switch: "off",
ocspStaplingSwitch: "off",
spdySwitch: "off",
verifyClient: "off",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
bucket = tencentcloud.CosBucket("bucket",
bucket="demo-bucket-1251234567",
acl="private")
# Create cdn domain
cdn = tencentcloud.CdnDomain("cdn",
domain="abc.com",
service_type="web",
area="mainland",
cache_key={
"full_url_cache": "off",
},
origin={
"origin_type": "cos",
"origin_lists": [bucket.cos_bucket_url],
"server_name": bucket.cos_bucket_url,
"origin_pull_protocol": "follow",
"cos_private_access": "on",
},
https_config={
"https_switch": "off",
"http2_switch": "off",
"ocsp_stapling_switch": "off",
"spdy_switch": "off",
"verify_client": "off",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
bucket, err := tencentcloud.NewCosBucket(ctx, "bucket", &tencentcloud.CosBucketArgs{
Bucket: pulumi.String("demo-bucket-1251234567"),
Acl: pulumi.String("private"),
})
if err != nil {
return err
}
// Create cdn domain
_, err = tencentcloud.NewCdnDomain(ctx, "cdn", &tencentcloud.CdnDomainArgs{
Domain: pulumi.String("abc.com"),
ServiceType: pulumi.String("web"),
Area: pulumi.String("mainland"),
CacheKey: &tencentcloud.CdnDomainCacheKeyArgs{
FullUrlCache: pulumi.String("off"),
},
Origin: &tencentcloud.CdnDomainOriginArgs{
OriginType: pulumi.String("cos"),
OriginLists: pulumi.StringArray{
bucket.CosBucketUrl,
},
ServerName: bucket.CosBucketUrl,
OriginPullProtocol: pulumi.String("follow"),
CosPrivateAccess: pulumi.String("on"),
},
HttpsConfig: &tencentcloud.CdnDomainHttpsConfigArgs{
HttpsSwitch: pulumi.String("off"),
Http2Switch: pulumi.String("off"),
OcspStaplingSwitch: pulumi.String("off"),
SpdySwitch: pulumi.String("off"),
VerifyClient: pulumi.String("off"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var bucket = new Tencentcloud.CosBucket("bucket", new()
{
Bucket = "demo-bucket-1251234567",
Acl = "private",
});
// Create cdn domain
var cdn = new Tencentcloud.CdnDomain("cdn", new()
{
Domain = "abc.com",
ServiceType = "web",
Area = "mainland",
CacheKey = new Tencentcloud.Inputs.CdnDomainCacheKeyArgs
{
FullUrlCache = "off",
},
Origin = new Tencentcloud.Inputs.CdnDomainOriginArgs
{
OriginType = "cos",
OriginLists = new[]
{
bucket.CosBucketUrl,
},
ServerName = bucket.CosBucketUrl,
OriginPullProtocol = "follow",
CosPrivateAccess = "on",
},
HttpsConfig = new Tencentcloud.Inputs.CdnDomainHttpsConfigArgs
{
HttpsSwitch = "off",
Http2Switch = "off",
OcspStaplingSwitch = "off",
SpdySwitch = "off",
VerifyClient = "off",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CosBucket;
import com.pulumi.tencentcloud.CosBucketArgs;
import com.pulumi.tencentcloud.CdnDomain;
import com.pulumi.tencentcloud.CdnDomainArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainCacheKeyArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainOriginArgs;
import com.pulumi.tencentcloud.inputs.CdnDomainHttpsConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bucket = new CosBucket("bucket", CosBucketArgs.builder()
.bucket("demo-bucket-1251234567")
.acl("private")
.build());
// Create cdn domain
var cdn = new CdnDomain("cdn", CdnDomainArgs.builder()
.domain("abc.com")
.serviceType("web")
.area("mainland")
.cacheKey(CdnDomainCacheKeyArgs.builder()
.fullUrlCache("off")
.build())
.origin(CdnDomainOriginArgs.builder()
.originType("cos")
.originLists(bucket.cosBucketUrl())
.serverName(bucket.cosBucketUrl())
.originPullProtocol("follow")
.cosPrivateAccess("on")
.build())
.httpsConfig(CdnDomainHttpsConfigArgs.builder()
.httpsSwitch("off")
.http2Switch("off")
.ocspStaplingSwitch("off")
.spdySwitch("off")
.verifyClient("off")
.build())
.build());
}
}
resources:
bucket:
type: tencentcloud:CosBucket
properties:
# Bucket format should be [custom name]-[appid].
bucket: demo-bucket-1251234567
acl: private
# Create cdn domain
cdn:
type: tencentcloud:CdnDomain
properties:
domain: abc.com
serviceType: web
area: mainland
cacheKey:
fullUrlCache: off
origin:
originType: cos
originLists:
- ${bucket.cosBucketUrl}
serverName: ${bucket.cosBucketUrl}
originPullProtocol: follow
cosPrivateAccess: on
httpsConfig:
httpsSwitch: off
http2Switch: off
ocspStaplingSwitch: off
spdySwitch: off
verifyClient: off
Create CdnDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnDomain(name: string, args: CdnDomainArgs, opts?: CustomResourceOptions);
@overload
def CdnDomain(resource_name: str,
args: CdnDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdnDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
service_type: Optional[str] = None,
origin: Optional[CdnDomainOriginArgs] = None,
explicit_using_dry_run: Optional[bool] = None,
offline_cache_switch: Optional[str] = None,
cdn_domain_id: Optional[str] = None,
compression: Optional[CdnDomainCompressionArgs] = None,
band_width_alert: Optional[CdnDomainBandWidthAlertArgs] = None,
downstream_capping: Optional[CdnDomainDownstreamCappingArgs] = None,
error_page: Optional[CdnDomainErrorPageArgs] = None,
area: Optional[str] = None,
follow_redirect_switch: Optional[str] = None,
full_url_cache: Optional[bool] = None,
https_config: Optional[CdnDomainHttpsConfigArgs] = None,
hw_private_access: Optional[CdnDomainHwPrivateAccessArgs] = None,
ip_filter: Optional[CdnDomainIpFilterArgs] = None,
ip_freq_limit: Optional[CdnDomainIpFreqLimitArgs] = None,
ipv6_access_switch: Optional[str] = None,
max_age: Optional[CdnDomainMaxAgeArgs] = None,
origin_pull_timeout: Optional[CdnDomainOriginPullTimeoutArgs] = None,
aws_private_access: Optional[CdnDomainAwsPrivateAccessArgs] = None,
cache_key: Optional[CdnDomainCacheKeyArgs] = None,
origin_pull_optimization: Optional[CdnDomainOriginPullOptimizationArgs] = None,
project_id: Optional[float] = None,
others_private_access: Optional[CdnDomainOthersPrivateAccessArgs] = None,
post_max_sizes: Optional[Sequence[CdnDomainPostMaxSizeArgs]] = None,
oss_private_access: Optional[CdnDomainOssPrivateAccessArgs] = None,
qn_private_access: Optional[CdnDomainQnPrivateAccessArgs] = None,
quic_switch: Optional[str] = None,
range_origin_switch: Optional[str] = None,
referer: Optional[CdnDomainRefererArgs] = None,
request_header: Optional[CdnDomainRequestHeaderArgs] = None,
response_header: Optional[CdnDomainResponseHeaderArgs] = None,
response_header_cache_switch: Optional[str] = None,
rule_caches: Optional[Sequence[CdnDomainRuleCachArgs]] = None,
seo_switch: Optional[str] = None,
authentication: Optional[CdnDomainAuthenticationArgs] = None,
specific_config_mainland: Optional[str] = None,
specific_config_overseas: Optional[str] = None,
status_code_cache: Optional[CdnDomainStatusCodeCacheArgs] = None,
tags: Optional[Mapping[str, str]] = None,
video_seek_switch: Optional[str] = None)
func NewCdnDomain(ctx *Context, name string, args CdnDomainArgs, opts ...ResourceOption) (*CdnDomain, error)
public CdnDomain(string name, CdnDomainArgs args, CustomResourceOptions? opts = null)
public CdnDomain(String name, CdnDomainArgs args)
public CdnDomain(String name, CdnDomainArgs args, CustomResourceOptions options)
type: tencentcloud:CdnDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CdnDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CdnDomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CdnDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnDomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CdnDomain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CdnDomain resource accepts the following input properties:
- Domain string
- Name of the acceleration domain.
- Origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- Service
Type 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- Aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- Band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- Cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - Cdn
Domain stringId - ID of the resource.
- Compression
Cdn
Domain Compression - Smart compression configurations.
- Downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- Error
Page CdnDomain Error Page - Error page configurations.
- Explicit
Using boolDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - Full
Url boolCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - Https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- Hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- Ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- Ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- Ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - Max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- Offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - Origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- Origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- Oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- Others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- Post
Max List<CdnSizes Domain Post Max Size> - Maximum post size configuration.
- Project
Id double - The project CDN belongs to, default to 0.
- Qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- Quic
Switch string - QUIC switch, available values:
on
,off
(default). - Range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - Referer
Cdn
Domain Referer - Referer configuration.
- Request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- Response
Header CdnDomain Response Header - Response header configurations.
- Response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - Rule
Caches List<CdnDomain Rule Cach> - Advanced path cache configuration.
- Seo
Switch string - SEO switch, available values:
on
,off
(default). - Specific
Config stringMainland - 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 stringOverseas - 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 CdnCache Domain Status Code Cache - Status code cache configurations.
- Dictionary<string, string>
- Tags of cdn domain.
- Video
Seek stringSwitch - Video seek switch, available values:
on
,off
(default).
- Domain string
- Name of the acceleration domain.
- Origin
Cdn
Domain Origin Args - Origin server configuration. It's a list and consist of at most one item.
- Service
Type 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
Cdn
Domain Authentication Args - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- Aws
Private CdnAccess Domain Aws Private Access Args - Access authentication for S3 origin.
- Band
Width CdnAlert Domain Band Width Alert Args - Bandwidth cap configuration.
- Cache
Key CdnDomain Cache Key Args - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - Cdn
Domain stringId - ID of the resource.
- Compression
Cdn
Domain Compression Args - Smart compression configurations.
- Downstream
Capping CdnDomain Downstream Capping Args - Downstream capping configuration.
- Error
Page CdnDomain Error Page Args - Error page configurations.
- Explicit
Using boolDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - Full
Url boolCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - Https
Config CdnDomain Https Config Args - HTTPS acceleration configuration. It's a list and consist of at most one item.
- Hw
Private CdnAccess Domain Hw Private Access Args - Access authentication for OBS origin.
- Ip
Filter CdnDomain Ip Filter Args - Specify Ip filter configurations.
- Ip
Freq CdnLimit Domain Ip Freq Limit Args - Specify Ip frequency limit configurations.
- Ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - Max
Age CdnDomain Max Age Args - Browser cache configuration. (This feature is in beta and not generally available yet).
- Offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - Origin
Pull CdnOptimization Domain Origin Pull Optimization Args - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- Origin
Pull CdnTimeout Domain Origin Pull Timeout Args - Cross-border linkage optimization configuration.
- Oss
Private CdnAccess Domain Oss Private Access Args - Access authentication for OSS origin.
- Others
Private CdnAccess Domain Others Private Access Args - Object storage back-to-source authentication of other vendors.
- Post
Max []CdnSizes Domain Post Max Size Args - Maximum post size configuration.
- Project
Id float64 - The project CDN belongs to, default to 0.
- Qn
Private CdnAccess Domain Qn Private Access Args - Access authentication for OBS origin.
- Quic
Switch string - QUIC switch, available values:
on
,off
(default). - Range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - Referer
Cdn
Domain Referer Args - Referer configuration.
- Request
Header CdnDomain Request Header Args - Request header configuration. It's a list and consist of at most one item.
- Response
Header CdnDomain Response Header Args - Response header configurations.
- Response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - Rule
Caches []CdnDomain Rule Cach Args - Advanced path cache configuration.
- Seo
Switch string - SEO switch, available values:
on
,off
(default). - Specific
Config stringMainland - 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 stringOverseas - 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 CdnCache Domain Status Code Cache Args - Status code cache configurations.
- map[string]string
- Tags of cdn domain.
- Video
Seek stringSwitch - Video seek switch, available values:
on
,off
(default).
- domain String
- Name of the acceleration domain.
- origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- service
Type 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain StringId - ID of the resource.
- compression
Cdn
Domain Compression - Smart compression configurations.
- downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- error
Page CdnDomain Error Page - Error page configurations.
- explicit
Using BooleanDry Run - 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 StringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url BooleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- ipv6Access
Switch String - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache StringSwitch - Offline cache switch, available values:
on
,off
(default). - origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- post
Max List<CdnSizes Domain Post Max Size> - Maximum post size configuration.
- project
Id Double - The project CDN belongs to, default to 0.
- qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- quic
Switch String - QUIC switch, available values:
on
,off
(default). - range
Origin StringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer - Referer configuration.
- request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- response
Header CdnDomain Response Header - Response header configurations.
- response
Header StringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches List<CdnDomain Rule Cach> - Advanced path cache configuration.
- seo
Switch String - SEO switch, available values:
on
,off
(default). - specific
Config StringMainland - 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 StringOverseas - 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 CdnCache Domain Status Code Cache - Status code cache configurations.
- Map<String,String>
- Tags of cdn domain.
- video
Seek StringSwitch - Video seek switch, available values:
on
,off
(default).
- domain string
- Name of the acceleration domain.
- origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- service
Type 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain stringId - ID of the resource.
- compression
Cdn
Domain Compression - Smart compression configurations.
- downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- error
Page CdnDomain Error Page - Error page configurations.
- explicit
Using booleanDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url booleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- post
Max CdnSizes Domain Post Max Size[] - Maximum post size configuration.
- project
Id number - The project CDN belongs to, default to 0.
- qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- quic
Switch string - QUIC switch, available values:
on
,off
(default). - range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer - Referer configuration.
- request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- response
Header CdnDomain Response Header - Response header configurations.
- response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches CdnDomain Rule Cach[] - Advanced path cache configuration.
- seo
Switch string - SEO switch, available values:
on
,off
(default). - specific
Config stringMainland - 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 stringOverseas - 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 CdnCache Domain Status Code Cache - Status code cache configurations.
- {[key: string]: string}
- Tags of cdn domain.
- video
Seek stringSwitch - Video seek switch, available values:
on
,off
(default).
- domain str
- Name of the acceleration domain.
- origin
Cdn
Domain Origin Args - Origin server configuration. It's a list and consist of at most one item.
- service_
type str - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - area str
- Domain name acceleration region.
mainland
: acceleration inside mainland China,overseas
: acceleration outside mainland China,global
: global acceleration. Overseas acceleration service must be enabled to use overseas acceleration and global acceleration. - authentication
Cdn
Domain Authentication Args - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws_
private_ Cdnaccess Domain Aws Private Access Args - Access authentication for S3 origin.
- band_
width_ Cdnalert Domain Band Width Alert Args - Bandwidth cap configuration.
- cache_
key CdnDomain Cache Key Args - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn_
domain_ strid - ID of the resource.
- compression
Cdn
Domain Compression Args - Smart compression configurations.
- downstream_
capping CdnDomain Downstream Capping Args - Downstream capping configuration.
- error_
page CdnDomain Error Page Args - Error page configurations.
- explicit_
using_ booldry_ run - 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_ strswitch - 301/302 redirect following switch, available values:
on
,off
(default). - full_
url_ boolcache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https_
config CdnDomain Https Config Args - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw_
private_ Cdnaccess Domain Hw Private Access Args - Access authentication for OBS origin.
- ip_
filter CdnDomain Ip Filter Args - Specify Ip filter configurations.
- ip_
freq_ Cdnlimit Domain Ip Freq Limit Args - Specify Ip frequency limit configurations.
- ipv6_
access_ strswitch - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max_
age CdnDomain Max Age Args - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline_
cache_ strswitch - Offline cache switch, available values:
on
,off
(default). - origin_
pull_ Cdnoptimization Domain Origin Pull Optimization Args - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin_
pull_ Cdntimeout Domain Origin Pull Timeout Args - Cross-border linkage optimization configuration.
- oss_
private_ Cdnaccess Domain Oss Private Access Args - Access authentication for OSS origin.
- others_
private_ Cdnaccess Domain Others Private Access Args - Object storage back-to-source authentication of other vendors.
- post_
max_ Sequence[Cdnsizes Domain Post Max Size Args] - Maximum post size configuration.
- project_
id float - The project CDN belongs to, default to 0.
- qn_
private_ Cdnaccess Domain Qn Private Access Args - Access authentication for OBS origin.
- quic_
switch str - QUIC switch, available values:
on
,off
(default). - range_
origin_ strswitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer Args - Referer configuration.
- request_
header CdnDomain Request Header Args - Request header configuration. It's a list and consist of at most one item.
- response_
header CdnDomain Response Header Args - Response header configurations.
- response_
header_ strcache_ switch - Response header cache switch, available values:
on
,off
(default). - rule_
caches Sequence[CdnDomain Rule Cach Args] - Advanced path cache configuration.
- seo_
switch str - SEO switch, available values:
on
,off
(default). - specific_
config_ strmainland - 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_ stroverseas - 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_ Cdncache Domain Status Code Cache Args - Status code cache configurations.
- Mapping[str, str]
- Tags of cdn domain.
- video_
seek_ strswitch - Video seek switch, available values:
on
,off
(default).
- domain String
- Name of the acceleration domain.
- origin Property Map
- Origin server configuration. It's a list and consist of at most one item.
- service
Type 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.
- aws
Private Property MapAccess - Access authentication for S3 origin.
- band
Width Property MapAlert - Bandwidth cap configuration.
- cache
Key Property Map - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain StringId - ID of the resource.
- compression Property Map
- Smart compression configurations.
- downstream
Capping Property Map - Downstream capping configuration.
- error
Page Property Map - Error page configurations.
- explicit
Using BooleanDry Run - 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 StringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url BooleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config Property Map - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private Property MapAccess - Access authentication for OBS origin.
- ip
Filter Property Map - Specify Ip filter configurations.
- ip
Freq Property MapLimit - Specify Ip frequency limit configurations.
- ipv6Access
Switch String - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age Property Map - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache StringSwitch - Offline cache switch, available values:
on
,off
(default). - origin
Pull Property MapOptimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull Property MapTimeout - Cross-border linkage optimization configuration.
- oss
Private Property MapAccess - Access authentication for OSS origin.
- others
Private Property MapAccess - Object storage back-to-source authentication of other vendors.
- post
Max List<Property Map>Sizes - Maximum post size configuration.
- project
Id Number - The project CDN belongs to, default to 0.
- qn
Private Property MapAccess - Access authentication for OBS origin.
- quic
Switch String - QUIC switch, available values:
on
,off
(default). - range
Origin StringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer Property Map
- Referer configuration.
- request
Header Property Map - Request header configuration. It's a list and consist of at most one item.
- response
Header Property Map - Response header configurations.
- response
Header StringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches List<Property Map> - Advanced path cache configuration.
- seo
Switch String - SEO switch, available values:
on
,off
(default). - specific
Config StringMainland - 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 StringOverseas - 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 Property MapCache - Status code cache configurations.
- Map<String>
- Tags of cdn domain.
- video
Seek StringSwitch - 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.
- Create
Time string - Creation time of domain name.
- Dry
Run stringCreate Result - Used for store
dry_run
request json. - Dry
Run stringUpdate Result - 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.
- Create
Time string - Creation time of domain name.
- Dry
Run stringCreate Result - Used for store
dry_run
request json. - Dry
Run stringUpdate Result - 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.
- create
Time String - Creation time of domain name.
- dry
Run StringCreate Result - Used for store
dry_run
request json. - dry
Run StringUpdate Result - 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.
- create
Time string - Creation time of domain name.
- dry
Run stringCreate Result - Used for store
dry_run
request json. - dry
Run stringUpdate Result - 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_ strcreate_ result - Used for store
dry_run
request json. - dry_
run_ strupdate_ result - 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.
- create
Time String - Creation time of domain name.
- dry
Run StringCreate Result - Used for store
dry_run
request json. - dry
Run StringUpdate Result - Used for store
dry_run
update request json. - id String
- The provider-assigned unique ID for this managed resource.
- status String
- Acceleration service status.
Look up Existing CdnDomain Resource
Get an existing CdnDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CdnDomainState, opts?: CustomResourceOptions): CdnDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
area: Optional[str] = None,
authentication: Optional[CdnDomainAuthenticationArgs] = None,
aws_private_access: Optional[CdnDomainAwsPrivateAccessArgs] = None,
band_width_alert: Optional[CdnDomainBandWidthAlertArgs] = None,
cache_key: Optional[CdnDomainCacheKeyArgs] = None,
cdn_domain_id: Optional[str] = None,
cname: Optional[str] = None,
compression: Optional[CdnDomainCompressionArgs] = None,
create_time: Optional[str] = None,
domain: Optional[str] = None,
downstream_capping: Optional[CdnDomainDownstreamCappingArgs] = None,
dry_run_create_result: Optional[str] = None,
dry_run_update_result: Optional[str] = None,
error_page: Optional[CdnDomainErrorPageArgs] = None,
explicit_using_dry_run: Optional[bool] = None,
follow_redirect_switch: Optional[str] = None,
full_url_cache: Optional[bool] = None,
https_config: Optional[CdnDomainHttpsConfigArgs] = None,
hw_private_access: Optional[CdnDomainHwPrivateAccessArgs] = None,
ip_filter: Optional[CdnDomainIpFilterArgs] = None,
ip_freq_limit: Optional[CdnDomainIpFreqLimitArgs] = None,
ipv6_access_switch: Optional[str] = None,
max_age: Optional[CdnDomainMaxAgeArgs] = None,
offline_cache_switch: Optional[str] = None,
origin: Optional[CdnDomainOriginArgs] = None,
origin_pull_optimization: Optional[CdnDomainOriginPullOptimizationArgs] = None,
origin_pull_timeout: Optional[CdnDomainOriginPullTimeoutArgs] = None,
oss_private_access: Optional[CdnDomainOssPrivateAccessArgs] = None,
others_private_access: Optional[CdnDomainOthersPrivateAccessArgs] = None,
post_max_sizes: Optional[Sequence[CdnDomainPostMaxSizeArgs]] = None,
project_id: Optional[float] = None,
qn_private_access: Optional[CdnDomainQnPrivateAccessArgs] = None,
quic_switch: Optional[str] = None,
range_origin_switch: Optional[str] = None,
referer: Optional[CdnDomainRefererArgs] = None,
request_header: Optional[CdnDomainRequestHeaderArgs] = None,
response_header: Optional[CdnDomainResponseHeaderArgs] = None,
response_header_cache_switch: Optional[str] = None,
rule_caches: Optional[Sequence[CdnDomainRuleCachArgs]] = None,
seo_switch: Optional[str] = None,
service_type: Optional[str] = None,
specific_config_mainland: Optional[str] = None,
specific_config_overseas: Optional[str] = None,
status: Optional[str] = None,
status_code_cache: Optional[CdnDomainStatusCodeCacheArgs] = None,
tags: Optional[Mapping[str, str]] = None,
video_seek_switch: Optional[str] = None) -> CdnDomain
func GetCdnDomain(ctx *Context, name string, id IDInput, state *CdnDomainState, opts ...ResourceOption) (*CdnDomain, error)
public static CdnDomain Get(string name, Input<string> id, CdnDomainState? state, CustomResourceOptions? opts = null)
public static CdnDomain get(String name, Output<String> id, CdnDomainState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CdnDomain get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- Aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- Band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- Cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - Cdn
Domain stringId - ID of the resource.
- Cname string
- CNAME address of domain name.
- Compression
Cdn
Domain Compression - Smart compression configurations.
- Create
Time string - Creation time of domain name.
- Domain string
- Name of the acceleration domain.
- Downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- Dry
Run stringCreate Result - Used for store
dry_run
request json. - Dry
Run stringUpdate Result - Used for store
dry_run
update request json. - Error
Page CdnDomain Error Page - Error page configurations.
- Explicit
Using boolDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - Full
Url boolCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - Https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- Hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- Ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- Ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- Ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - Max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- Offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - Origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- Origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- Origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- Oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- Others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- Post
Max List<CdnSizes Domain Post Max Size> - Maximum post size configuration.
- Project
Id double - The project CDN belongs to, default to 0.
- Qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- Quic
Switch string - QUIC switch, available values:
on
,off
(default). - Range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - Referer
Cdn
Domain Referer - Referer configuration.
- Request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- Response
Header CdnDomain Response Header - Response header configurations.
- Response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - Rule
Caches List<CdnDomain Rule Cach> - Advanced path cache configuration.
- Seo
Switch string - SEO switch, available values:
on
,off
(default). - Service
Type string - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - Specific
Config stringMainland - 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 stringOverseas - 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.
- Status
Code CdnCache Domain Status Code Cache - Status code cache configurations.
- Dictionary<string, string>
- Tags of cdn domain.
- Video
Seek stringSwitch - 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
Cdn
Domain Authentication Args - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- Aws
Private CdnAccess Domain Aws Private Access Args - Access authentication for S3 origin.
- Band
Width CdnAlert Domain Band Width Alert Args - Bandwidth cap configuration.
- Cache
Key CdnDomain Cache Key Args - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - Cdn
Domain stringId - ID of the resource.
- Cname string
- CNAME address of domain name.
- Compression
Cdn
Domain Compression Args - Smart compression configurations.
- Create
Time string - Creation time of domain name.
- Domain string
- Name of the acceleration domain.
- Downstream
Capping CdnDomain Downstream Capping Args - Downstream capping configuration.
- Dry
Run stringCreate Result - Used for store
dry_run
request json. - Dry
Run stringUpdate Result - Used for store
dry_run
update request json. - Error
Page CdnDomain Error Page Args - Error page configurations.
- Explicit
Using boolDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - Full
Url boolCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - Https
Config CdnDomain Https Config Args - HTTPS acceleration configuration. It's a list and consist of at most one item.
- Hw
Private CdnAccess Domain Hw Private Access Args - Access authentication for OBS origin.
- Ip
Filter CdnDomain Ip Filter Args - Specify Ip filter configurations.
- Ip
Freq CdnLimit Domain Ip Freq Limit Args - Specify Ip frequency limit configurations.
- Ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - Max
Age CdnDomain Max Age Args - Browser cache configuration. (This feature is in beta and not generally available yet).
- Offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - Origin
Cdn
Domain Origin Args - Origin server configuration. It's a list and consist of at most one item.
- Origin
Pull CdnOptimization Domain Origin Pull Optimization Args - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- Origin
Pull CdnTimeout Domain Origin Pull Timeout Args - Cross-border linkage optimization configuration.
- Oss
Private CdnAccess Domain Oss Private Access Args - Access authentication for OSS origin.
- Others
Private CdnAccess Domain Others Private Access Args - Object storage back-to-source authentication of other vendors.
- Post
Max []CdnSizes Domain Post Max Size Args - Maximum post size configuration.
- Project
Id float64 - The project CDN belongs to, default to 0.
- Qn
Private CdnAccess Domain Qn Private Access Args - Access authentication for OBS origin.
- Quic
Switch string - QUIC switch, available values:
on
,off
(default). - Range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - Referer
Cdn
Domain Referer Args - Referer configuration.
- Request
Header CdnDomain Request Header Args - Request header configuration. It's a list and consist of at most one item.
- Response
Header CdnDomain Response Header Args - Response header configurations.
- Response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - Rule
Caches []CdnDomain Rule Cach Args - Advanced path cache configuration.
- Seo
Switch string - SEO switch, available values:
on
,off
(default). - Service
Type string - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - Specific
Config stringMainland - 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 stringOverseas - 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.
- Status
Code CdnCache Domain Status Code Cache Args - Status code cache configurations.
- map[string]string
- Tags of cdn domain.
- Video
Seek stringSwitch - 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain StringId - ID of the resource.
- cname String
- CNAME address of domain name.
- compression
Cdn
Domain Compression - Smart compression configurations.
- create
Time String - Creation time of domain name.
- domain String
- Name of the acceleration domain.
- downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- dry
Run StringCreate Result - Used for store
dry_run
request json. - dry
Run StringUpdate Result - Used for store
dry_run
update request json. - error
Page CdnDomain Error Page - Error page configurations.
- explicit
Using BooleanDry Run - 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 StringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url BooleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- ipv6Access
Switch String - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache StringSwitch - Offline cache switch, available values:
on
,off
(default). - origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- post
Max List<CdnSizes Domain Post Max Size> - Maximum post size configuration.
- project
Id Double - The project CDN belongs to, default to 0.
- qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- quic
Switch String - QUIC switch, available values:
on
,off
(default). - range
Origin StringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer - Referer configuration.
- request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- response
Header CdnDomain Response Header - Response header configurations.
- response
Header StringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches List<CdnDomain Rule Cach> - Advanced path cache configuration.
- seo
Switch String - SEO switch, available values:
on
,off
(default). - service
Type String - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - specific
Config StringMainland - 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 StringOverseas - 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.
- status
Code CdnCache Domain Status Code Cache - Status code cache configurations.
- Map<String,String>
- Tags of cdn domain.
- video
Seek StringSwitch - 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
Cdn
Domain Authentication - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws
Private CdnAccess Domain Aws Private Access - Access authentication for S3 origin.
- band
Width CdnAlert Domain Band Width Alert - Bandwidth cap configuration.
- cache
Key CdnDomain Cache Key - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain stringId - ID of the resource.
- cname string
- CNAME address of domain name.
- compression
Cdn
Domain Compression - Smart compression configurations.
- create
Time string - Creation time of domain name.
- domain string
- Name of the acceleration domain.
- downstream
Capping CdnDomain Downstream Capping - Downstream capping configuration.
- dry
Run stringCreate Result - Used for store
dry_run
request json. - dry
Run stringUpdate Result - Used for store
dry_run
update request json. - error
Page CdnDomain Error Page - Error page configurations.
- explicit
Using booleanDry Run - 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 stringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url booleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config CdnDomain Https Config - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private CdnAccess Domain Hw Private Access - Access authentication for OBS origin.
- ip
Filter CdnDomain Ip Filter - Specify Ip filter configurations.
- ip
Freq CdnLimit Domain Ip Freq Limit - Specify Ip frequency limit configurations.
- ipv6Access
Switch string - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age CdnDomain Max Age - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache stringSwitch - Offline cache switch, available values:
on
,off
(default). - origin
Cdn
Domain Origin - Origin server configuration. It's a list and consist of at most one item.
- origin
Pull CdnOptimization Domain Origin Pull Optimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull CdnTimeout Domain Origin Pull Timeout - Cross-border linkage optimization configuration.
- oss
Private CdnAccess Domain Oss Private Access - Access authentication for OSS origin.
- others
Private CdnAccess Domain Others Private Access - Object storage back-to-source authentication of other vendors.
- post
Max CdnSizes Domain Post Max Size[] - Maximum post size configuration.
- project
Id number - The project CDN belongs to, default to 0.
- qn
Private CdnAccess Domain Qn Private Access - Access authentication for OBS origin.
- quic
Switch string - QUIC switch, available values:
on
,off
(default). - range
Origin stringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer - Referer configuration.
- request
Header CdnDomain Request Header - Request header configuration. It's a list and consist of at most one item.
- response
Header CdnDomain Response Header - Response header configurations.
- response
Header stringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches CdnDomain Rule Cach[] - Advanced path cache configuration.
- seo
Switch string - SEO switch, available values:
on
,off
(default). - service
Type string - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - specific
Config stringMainland - 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 stringOverseas - 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.
- status
Code CdnCache Domain Status Code Cache - Status code cache configurations.
- {[key: string]: string}
- Tags of cdn domain.
- video
Seek stringSwitch - 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
Cdn
Domain Authentication Args - Specify timestamp hotlink protection configuration, NOTE: only one type can choose for the sub elements.
- aws_
private_ Cdnaccess Domain Aws Private Access Args - Access authentication for S3 origin.
- band_
width_ Cdnalert Domain Band Width Alert Args - Bandwidth cap configuration.
- cache_
key CdnDomain Cache Key Args - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn_
domain_ strid - ID of the resource.
- cname str
- CNAME address of domain name.
- compression
Cdn
Domain Compression Args - Smart compression configurations.
- create_
time str - Creation time of domain name.
- domain str
- Name of the acceleration domain.
- downstream_
capping CdnDomain Downstream Capping Args - Downstream capping configuration.
- dry_
run_ strcreate_ result - Used for store
dry_run
request json. - dry_
run_ strupdate_ result - Used for store
dry_run
update request json. - error_
page CdnDomain Error Page Args - Error page configurations.
- explicit_
using_ booldry_ run - 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_ strswitch - 301/302 redirect following switch, available values:
on
,off
(default). - full_
url_ boolcache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https_
config CdnDomain Https Config Args - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw_
private_ Cdnaccess Domain Hw Private Access Args - Access authentication for OBS origin.
- ip_
filter CdnDomain Ip Filter Args - Specify Ip filter configurations.
- ip_
freq_ Cdnlimit Domain Ip Freq Limit Args - Specify Ip frequency limit configurations.
- ipv6_
access_ strswitch - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max_
age CdnDomain Max Age Args - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline_
cache_ strswitch - Offline cache switch, available values:
on
,off
(default). - origin
Cdn
Domain Origin Args - Origin server configuration. It's a list and consist of at most one item.
- origin_
pull_ Cdnoptimization Domain Origin Pull Optimization Args - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin_
pull_ Cdntimeout Domain Origin Pull Timeout Args - Cross-border linkage optimization configuration.
- oss_
private_ Cdnaccess Domain Oss Private Access Args - Access authentication for OSS origin.
- others_
private_ Cdnaccess Domain Others Private Access Args - Object storage back-to-source authentication of other vendors.
- post_
max_ Sequence[Cdnsizes Domain Post Max Size Args] - Maximum post size configuration.
- project_
id float - The project CDN belongs to, default to 0.
- qn_
private_ Cdnaccess Domain Qn Private Access Args - Access authentication for OBS origin.
- quic_
switch str - QUIC switch, available values:
on
,off
(default). - range_
origin_ strswitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer
Cdn
Domain Referer Args - Referer configuration.
- request_
header CdnDomain Request Header Args - Request header configuration. It's a list and consist of at most one item.
- response_
header CdnDomain Response Header Args - Response header configurations.
- response_
header_ strcache_ switch - Response header cache switch, available values:
on
,off
(default). - rule_
caches Sequence[CdnDomain Rule Cach Args] - 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_ strmainland - 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_ stroverseas - 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_ Cdncache Domain Status Code Cache Args - Status code cache configurations.
- Mapping[str, str]
- Tags of cdn domain.
- video_
seek_ strswitch - 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.
- aws
Private Property MapAccess - Access authentication for S3 origin.
- band
Width Property MapAlert - Bandwidth cap configuration.
- cache
Key Property Map - Cache key configuration (Ignore Query String configuration). NOTE: All of
full_url_cache
default value ison
. - cdn
Domain StringId - ID of the resource.
- cname String
- CNAME address of domain name.
- compression Property Map
- Smart compression configurations.
- create
Time String - Creation time of domain name.
- domain String
- Name of the acceleration domain.
- downstream
Capping Property Map - Downstream capping configuration.
- dry
Run StringCreate Result - Used for store
dry_run
request json. - dry
Run StringUpdate Result - Used for store
dry_run
update request json. - error
Page Property Map - Error page configurations.
- explicit
Using BooleanDry Run - 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 StringSwitch - 301/302 redirect following switch, available values:
on
,off
(default). - full
Url BooleanCache - Use
cache_key
>full_url_cache
instead. Whether to enable full-path cache. Default value istrue
. - https
Config Property Map - HTTPS acceleration configuration. It's a list and consist of at most one item.
- hw
Private Property MapAccess - Access authentication for OBS origin.
- ip
Filter Property Map - Specify Ip filter configurations.
- ip
Freq Property MapLimit - Specify Ip frequency limit configurations.
- ipv6Access
Switch String - ipv6 access configuration switch. Only available when area set to
mainland
. Valid values areon
andoff
. Default value isoff
. - max
Age Property Map - Browser cache configuration. (This feature is in beta and not generally available yet).
- offline
Cache StringSwitch - 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.
- origin
Pull Property MapOptimization - Cross-border linkage optimization configuration. (This feature is in beta and not generally available yet).
- origin
Pull Property MapTimeout - Cross-border linkage optimization configuration.
- oss
Private Property MapAccess - Access authentication for OSS origin.
- others
Private Property MapAccess - Object storage back-to-source authentication of other vendors.
- post
Max List<Property Map>Sizes - Maximum post size configuration.
- project
Id Number - The project CDN belongs to, default to 0.
- qn
Private Property MapAccess - Access authentication for OBS origin.
- quic
Switch String - QUIC switch, available values:
on
,off
(default). - range
Origin StringSwitch - Sharding back to source configuration switch. Valid values are
on
andoff
. Default value ison
. - referer Property Map
- Referer configuration.
- request
Header Property Map - Request header configuration. It's a list and consist of at most one item.
- response
Header Property Map - Response header configurations.
- response
Header StringCache Switch - Response header cache switch, available values:
on
,off
(default). - rule
Caches List<Property Map> - Advanced path cache configuration.
- seo
Switch String - SEO switch, available values:
on
,off
(default). - service
Type String - Acceleration domain name service type.
web
: static acceleration,download
: download acceleration,media
: streaming media VOD acceleration,hybrid
: hybrid acceleration,dynamic
: dynamic acceleration. - specific
Config StringMainland - 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 StringOverseas - 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.
- status
Code Property MapCache - Status code cache configurations.
- Map<String>
- Tags of cdn domain.
- video
Seek StringSwitch - Video seek switch, available values:
on
,off
(default).
Supporting Types
CdnDomainAuthentication, CdnDomainAuthenticationArgs
- Switch string
- Authentication switching, available values:
on
,off
. - Type
A CdnDomain Authentication Type A - Timestamp hotlink protection mode A configuration.
- Type
B CdnDomain Authentication Type B - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- Type
C CdnDomain Authentication Type C - Timestamp hotlink protection mode C configuration.
- Type
D CdnDomain Authentication Type D - Timestamp hotlink protection mode D configuration.
- Switch string
- Authentication switching, available values:
on
,off
. - Type
A CdnDomain Authentication Type A - Timestamp hotlink protection mode A configuration.
- Type
B CdnDomain Authentication Type B - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- Type
C CdnDomain Authentication Type C - Timestamp hotlink protection mode C configuration.
- Type
D CdnDomain Authentication Type D - Timestamp hotlink protection mode D configuration.
- switch_ String
- Authentication switching, available values:
on
,off
. - type
A CdnDomain Authentication Type A - Timestamp hotlink protection mode A configuration.
- type
B CdnDomain Authentication Type B - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- type
C CdnDomain Authentication Type C - Timestamp hotlink protection mode C configuration.
- type
D CdnDomain Authentication Type D - Timestamp hotlink protection mode D configuration.
- switch string
- Authentication switching, available values:
on
,off
. - type
A CdnDomain Authentication Type A - Timestamp hotlink protection mode A configuration.
- type
B CdnDomain Authentication Type B - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- type
C CdnDomain Authentication Type C - Timestamp hotlink protection mode C configuration.
- type
D CdnDomain Authentication Type D - Timestamp hotlink protection mode D configuration.
- switch str
- Authentication switching, available values:
on
,off
. - type_
a CdnDomain Authentication Type A - Timestamp hotlink protection mode A configuration.
- type_
b CdnDomain Authentication Type B - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- type_
c CdnDomain Authentication Type C - Timestamp hotlink protection mode C configuration.
- type_
d CdnDomain Authentication Type D - Timestamp hotlink protection mode D configuration.
- switch String
- Authentication switching, available values:
on
,off
. - type
A Property Map - Timestamp hotlink protection mode A configuration.
- type
B Property Map - Timestamp hotlink protection mode B configuration. NOTE: according to upgrading of TencentCloud Platform, TypeB is unavailable for now.
- type
C Property Map - Timestamp hotlink protection mode C configuration.
- type
D Property Map - Timestamp hotlink protection mode D configuration.
CdnDomainAuthenticationTypeA, CdnDomainAuthenticationTypeAArgs
- Expire
Time double - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions List<string> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Sign
Param 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.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Expire
Time float64 - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions []string - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Sign
Param 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.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time Double - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- sign
Param 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.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions string[] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- sign
Param 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.
- backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire_
time float - Signature expiration time in second. The maximum value is 630720000.
- file_
extensions Sequence[str] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter_
type str - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret_
key str - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- sign_
param str - Signature parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
- backup_
secret_ strkey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time Number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- sign
Param 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.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
CdnDomainAuthenticationTypeB, CdnDomainAuthenticationTypeBArgs
- Expire
Time double - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions List<string> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Expire
Time float64 - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions []string - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time Double - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions string[] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire_
time float - Signature expiration time in second. The maximum value is 630720000.
- file_
extensions Sequence[str] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter_
type str - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret_
key str - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup_
secret_ strkey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- expire
Time Number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
CdnDomainAuthenticationTypeC, CdnDomainAuthenticationTypeCArgs
- Expire
Time double - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions List<string> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Time
Format string - Timestamp formation, available values:
dec
,hex
.
- Expire
Time float64 - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions []string - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Time
Format string - Timestamp formation, available values:
dec
,hex
.
- expire
Time Double - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format String - Timestamp formation, available values:
dec
,hex
.
- expire
Time number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions string[] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format string - Timestamp formation, available values:
dec
,hex
.
- expire_
time float - Signature expiration time in second. The maximum value is 630720000.
- file_
extensions Sequence[str] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter_
type str - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret_
key str - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup_
secret_ strkey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time_
format str - Timestamp formation, available values:
dec
,hex
.
- expire
Time Number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format String - Timestamp formation, available values:
dec
,hex
.
CdnDomainAuthenticationTypeD, CdnDomainAuthenticationTypeDArgs
- Expire
Time double - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions List<string> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Time
Format string - Timestamp formation, available values:
dec
,hex
. - Time
Param 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 float64 - Signature expiration time in second. The maximum value is 630720000.
- File
Extensions []string - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- Filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - Secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- Backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- Time
Format string - Timestamp formation, available values:
dec
,hex
. - Time
Param 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 Double - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format String - Timestamp formation, available values:
dec
,hex
. - time
Param 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 number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions string[] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type string - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key string - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret stringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format string - Timestamp formation, available values:
dec
,hex
. - time
Param string - Timestamp parameter name. Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
- expire_
time float - Signature expiration time in second. The maximum value is 630720000.
- file_
extensions Sequence[str] - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter_
type str - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret_
key str - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup_
secret_ strkey - 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.
- expire
Time Number - Signature expiration time in second. The maximum value is 630720000.
- file
Extensions List<String> - File extension list settings determining if authentication should be performed. NOTE: If it contains an asterisk (*), this indicates all files.
- filter
Type String - Available values:
whitelist
- all types apart fromfile_extensions
are authenticated,blacklist
: - only the types in thefile_extensions
are authenticated. - secret
Key String - The key for signature calculation. Only digits, upper and lower-case letters are allowed. Length limit: 6-32 characters.
- backup
Secret StringKey - Used for calculate a signature. 6-32 characters. Only digits and letters are allowed.
- time
Format String - Timestamp formation, available values:
dec
,hex
. - time
Param 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 str
- Configuration switch, available values:
on
,off
(default). - access_
key str - Access ID.
- bucket str
- Bucket.
- region str
- Region.
- secret_
key str - Key.
CdnDomainBandWidthAlert, CdnDomainBandWidthAlertArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Alert
Percentage double - Alert percentage.
- Alert
Switch string - Switch alert.
- Bps
Threshold double - threshold of bps.
- Counter
Measure string - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - Last
Trigger stringTime - Last trigger time.
- Last
Trigger stringTime Overseas - Last trigger time of overseas.
- Metric string
- Metric.
- Statistic
Item CdnDomain Band Width Alert Statistic Item - Specify statistic item configuration.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Alert
Percentage float64 - Alert percentage.
- Alert
Switch string - Switch alert.
- Bps
Threshold float64 - threshold of bps.
- Counter
Measure string - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - Last
Trigger stringTime - Last trigger time.
- Last
Trigger stringTime Overseas - Last trigger time of overseas.
- Metric string
- Metric.
- Statistic
Item CdnDomain Band Width Alert Statistic Item - Specify statistic item configuration.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - alert
Percentage Double - Alert percentage.
- alert
Switch String - Switch alert.
- bps
Threshold Double - threshold of bps.
- counter
Measure String - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - last
Trigger StringTime - Last trigger time.
- last
Trigger StringTime Overseas - Last trigger time of overseas.
- metric String
- Metric.
- statistic
Item CdnDomain Band Width Alert Statistic Item - Specify statistic item configuration.
- switch string
- Configuration switch, available values:
on
,off
(default). - alert
Percentage number - Alert percentage.
- alert
Switch string - Switch alert.
- bps
Threshold number - threshold of bps.
- counter
Measure string - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - last
Trigger stringTime - Last trigger time.
- last
Trigger stringTime Overseas - Last trigger time of overseas.
- metric string
- Metric.
- statistic
Item CdnDomain Band Width Alert Statistic Item - Specify statistic item configuration.
- switch str
- Configuration switch, available values:
on
,off
(default). - alert_
percentage float - Alert percentage.
- alert_
switch str - Switch alert.
- bps_
threshold float - threshold of bps.
- counter_
measure str - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - last_
trigger_ strtime - Last trigger time.
- last_
trigger_ strtime_ overseas - Last trigger time of overseas.
- metric str
- Metric.
- statistic_
item CdnDomain Band Width Alert Statistic Item - Specify statistic item configuration.
- switch String
- Configuration switch, available values:
on
,off
(default). - alert
Percentage Number - Alert percentage.
- alert
Switch String - Switch alert.
- bps
Threshold Number - threshold of bps.
- counter
Measure String - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - last
Trigger StringTime - Last trigger time.
- last
Trigger StringTime Overseas - Last trigger time of overseas.
- metric String
- Metric.
- statistic
Item Property Map - Specify statistic item configuration.
CdnDomainBandWidthAlertStatisticItem, CdnDomainBandWidthAlertStatisticItemArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Alert
Percentage double - Alert percentage.
- Alert
Switch string - Switch alert.
- Bps
Threshold double - threshold of bps.
- Counter
Measure 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.
- Unblock
Time double - Time of auto unblock.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Alert
Percentage float64 - Alert percentage.
- Alert
Switch string - Switch alert.
- Bps
Threshold float64 - threshold of bps.
- Counter
Measure 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.
- Unblock
Time float64 - Time of auto unblock.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - alert
Percentage Double - Alert percentage.
- alert
Switch String - Switch alert.
- bps
Threshold Double - threshold of bps.
- counter
Measure 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.
- unblock
Time Double - Time of auto unblock.
- switch string
- Configuration switch, available values:
on
,off
(default). - alert
Percentage number - Alert percentage.
- alert
Switch string - Switch alert.
- bps
Threshold number - threshold of bps.
- counter
Measure 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.
- unblock
Time number - Time of auto unblock.
- switch str
- Configuration switch, available values:
on
,off
(default). - alert_
percentage float - Alert percentage.
- alert_
switch str - Switch alert.
- bps_
threshold float - threshold of bps.
- counter_
measure str - Counter measure, values:
RETURN_404
,RESOLVE_DNS_TO_ORIGIN
. - cycle float
- Cycle of checking in minutes, values
60
,1440
. - metric str
- Metric.
- type str
- Type of statistic item.
- unblock_
time float - Time of auto unblock.
- switch String
- Configuration switch, available values:
on
,off
(default). - alert
Percentage Number - Alert percentage.
- alert
Switch String - Switch alert.
- bps
Threshold Number - threshold of bps.
- counter
Measure 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.
- unblock
Time Number - Time of auto unblock.
CdnDomainCacheKey, CdnDomainCacheKeyArgs
- Full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - Ignore
Case string - Whether caches are case insensitive.
- Key
Rules List<CdnDomain Cache Key Key Rule> - Path-specific cache key configuration.
- Query
String CdnDomain Cache Key Query String - Request parameter contained in CacheKey.
- Full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - Ignore
Case string - Whether caches are case insensitive.
- Key
Rules []CdnDomain Cache Key Key Rule - Path-specific cache key configuration.
- Query
String CdnDomain Cache Key Query String - Request parameter contained in CacheKey.
- full
Url StringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case String - Whether caches are case insensitive.
- key
Rules List<CdnDomain Cache Key Key Rule> - Path-specific cache key configuration.
- query
String CdnDomain Cache Key Query String - Request parameter contained in CacheKey.
- full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case string - Whether caches are case insensitive.
- key
Rules CdnDomain Cache Key Key Rule[] - Path-specific cache key configuration.
- query
String CdnDomain Cache Key Query String - Request parameter contained in CacheKey.
- full_
url_ strcache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore_
case str - Whether caches are case insensitive.
- key_
rules Sequence[CdnDomain Cache Key Key Rule] - Path-specific cache key configuration.
- query_
string CdnDomain Cache Key Query String - Request parameter contained in CacheKey.
- full
Url StringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case String - Whether caches are case insensitive.
- key
Rules List<Property Map> - Path-specific cache key configuration.
- query
String Property Map - Request parameter contained in CacheKey.
CdnDomainCacheKeyKeyRule, CdnDomainCacheKeyKeyRuleArgs
- Query
String CdnDomain Cache Key Key Rule Query String - Request parameter contained in CacheKey.
- Rule
Paths List<string> - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Rule type, available:
file
,directory
,path
,index
. - Full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - Ignore
Case string - Whether caches are case insensitive.
- Rule
Tag string - Specify rule tag, default value is
user
.
- Query
String CdnDomain Cache Key Key Rule Query String - Request parameter contained in CacheKey.
- Rule
Paths []string - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Rule type, available:
file
,directory
,path
,index
. - Full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - Ignore
Case string - Whether caches are case insensitive.
- Rule
Tag string - Specify rule tag, default value is
user
.
- query
String CdnDomain Cache Key Key Rule Query String - Request parameter contained in CacheKey.
- rule
Paths List<String> - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Rule type, available:
file
,directory
,path
,index
. - full
Url StringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case String - Whether caches are case insensitive.
- rule
Tag String - Specify rule tag, default value is
user
.
- query
String CdnDomain Cache Key Key Rule Query String - Request parameter contained in CacheKey.
- rule
Paths string[] - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type string - Rule type, available:
file
,directory
,path
,index
. - full
Url stringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case string - Whether caches are case insensitive.
- rule
Tag string - Specify rule tag, default value is
user
.
- query_
string CdnDomain Cache Key Key Rule Query String - Request parameter contained in CacheKey.
- rule_
paths Sequence[str] - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule_
type str - Rule type, available:
file
,directory
,path
,index
. - full_
url_ strcache - 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
.
- query
String Property Map - Request parameter contained in CacheKey.
- rule
Paths List<String> - List of rule paths for each
key_rules
:/
forindex
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Rule type, available:
file
,directory
,path
,index
. - full
Url StringCache - Whether to enable full-path cache, values
on
(DEFAULT ON),off
. - ignore
Case String - Whether caches are case insensitive.
- rule
Tag String - Specify rule tag, default value is
user
.
CdnDomainCacheKeyKeyRuleQueryString, CdnDomainCacheKeyKeyRuleQueryStringArgs
CdnDomainCacheKeyQueryString, CdnDomainCacheKeyQueryStringArgs
CdnDomainCompression, CdnDomainCompressionArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Compression
Rules List<CdnDomain Compression Compression Rule> - List of compression rules.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Compression
Rules []CdnDomain Compression Compression Rule - List of compression rules.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - compression
Rules List<CdnDomain Compression Compression Rule> - List of compression rules.
- switch string
- Configuration switch, available values:
on
,off
(default). - compression
Rules CdnDomain Compression Compression Rule[] - List of compression rules.
- switch str
- Configuration switch, available values:
on
,off
(default). - compression_
rules Sequence[CdnDomain Compression Compression Rule] - List of compression rules.
- switch String
- Configuration switch, available values:
on
,off
(default). - compression
Rules List<Property Map> - List of compression rules.
CdnDomainCompressionCompressionRule, CdnDomainCompressionCompressionRuleArgs
- Algorithms List<string>
- List of algorithms, available:
gzip
andbrotli
. - Compress bool
- Must be set as true, enables compression.
- Max
Length double - The maximum file size to trigger compression (in bytes).
- Min
Length double - The minimum file size to trigger compression (in bytes).
- File
Extensions List<string> - List of file extensions like
jpg
,txt
. - Rule
Paths List<string> - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Rule type, available:
all
,file
,directory
,path
,contentType
.
- Algorithms []string
- List of algorithms, available:
gzip
andbrotli
. - Compress bool
- Must be set as true, enables compression.
- Max
Length float64 - The maximum file size to trigger compression (in bytes).
- Min
Length float64 - The minimum file size to trigger compression (in bytes).
- File
Extensions []string - List of file extensions like
jpg
,txt
. - Rule
Paths []string - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Rule type, available:
all
,file
,directory
,path
,contentType
.
- algorithms List<String>
- List of algorithms, available:
gzip
andbrotli
. - compress Boolean
- Must be set as true, enables compression.
- max
Length Double - The maximum file size to trigger compression (in bytes).
- min
Length Double - The minimum file size to trigger compression (in bytes).
- file
Extensions List<String> - List of file extensions like
jpg
,txt
. - rule
Paths List<String> - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Rule type, available:
all
,file
,directory
,path
,contentType
.
- algorithms string[]
- List of algorithms, available:
gzip
andbrotli
. - compress boolean
- Must be set as true, enables compression.
- max
Length number - The maximum file size to trigger compression (in bytes).
- min
Length number - The minimum file size to trigger compression (in bytes).
- file
Extensions string[] - List of file extensions like
jpg
,txt
. - rule
Paths string[] - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type string - Rule type, available:
all
,file
,directory
,path
,contentType
.
- algorithms Sequence[str]
- List of algorithms, available:
gzip
andbrotli
. - compress bool
- Must be set as true, enables compression.
- max_
length float - The maximum file size to trigger compression (in bytes).
- min_
length float - The minimum file size to trigger compression (in bytes).
- file_
extensions Sequence[str] - List of file extensions like
jpg
,txt
. - rule_
paths Sequence[str] - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule_
type str - Rule type, available:
all
,file
,directory
,path
,contentType
.
- algorithms List<String>
- List of algorithms, available:
gzip
andbrotli
. - compress Boolean
- Must be set as true, enables compression.
- max
Length Number - The maximum file size to trigger compression (in bytes).
- min
Length Number - The minimum file size to trigger compression (in bytes).
- file
Extensions List<String> - List of file extensions like
jpg
,txt
. - rule
Paths List<String> - List of rule paths for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Rule type, available:
all
,file
,directory
,path
,contentType
.
CdnDomainDownstreamCapping, CdnDomainDownstreamCappingArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Capping
Rules List<CdnDomain Downstream Capping Capping Rule> - List of capping rule.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Capping
Rules []CdnDomain Downstream Capping Capping Rule - List of capping rule.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - capping
Rules List<CdnDomain Downstream Capping Capping Rule> - List of capping rule.
- switch string
- Configuration switch, available values:
on
,off
(default). - capping
Rules CdnDomain Downstream Capping Capping Rule[] - List of capping rule.
- switch str
- Configuration switch, available values:
on
,off
(default). - capping_
rules Sequence[CdnDomain Downstream Capping Capping Rule] - List of capping rule.
- switch String
- Configuration switch, available values:
on
,off
(default). - capping
Rules List<Property Map> - List of capping rule.
CdnDomainDownstreamCappingCappingRule, CdnDomainDownstreamCappingCappingRuleArgs
- Kbps
Threshold double - Capping rule kbps threshold.
- Rule
Paths List<string> - List of capping rule path.
- Rule
Type string - Capping rule type.
- Kbps
Threshold float64 - Capping rule kbps threshold.
- Rule
Paths []string - List of capping rule path.
- Rule
Type string - Capping rule type.
- kbps
Threshold Double - Capping rule kbps threshold.
- rule
Paths List<String> - List of capping rule path.
- rule
Type String - Capping rule type.
- kbps
Threshold number - Capping rule kbps threshold.
- rule
Paths string[] - List of capping rule path.
- rule
Type string - Capping rule type.
- kbps_
threshold float - Capping rule kbps threshold.
- rule_
paths Sequence[str] - List of capping rule path.
- rule_
type str - Capping rule type.
- kbps
Threshold Number - Capping rule kbps threshold.
- rule
Paths List<String> - List of capping rule path.
- rule
Type String - Capping rule type.
CdnDomainErrorPage, CdnDomainErrorPageArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Page
Rules List<CdnDomain Error Page Page Rule> - List of error page rule.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Page
Rules []CdnDomain Error Page Page Rule - List of error page rule.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - page
Rules List<CdnDomain Error Page Page Rule> - List of error page rule.
- switch string
- Configuration switch, available values:
on
,off
(default). - page
Rules CdnDomain Error Page Page Rule[] - List of error page rule.
- switch str
- Configuration switch, available values:
on
,off
(default). - page_
rules Sequence[CdnDomain Error Page Page Rule] - List of error page rule.
- switch String
- Configuration switch, available values:
on
,off
(default). - page
Rules List<Property Map> - List of error page rule.
CdnDomainErrorPagePageRule, CdnDomainErrorPagePageRuleArgs
- Redirect
Code double - Redirect code of error page rules.
- Redirect
Url string - Redirect url of error page rules.
- Status
Code double - Status code of error page rules.
- Redirect
Code float64 - Redirect code of error page rules.
- Redirect
Url string - Redirect url of error page rules.
- Status
Code float64 - Status code of error page rules.
- redirect
Code Double - Redirect code of error page rules.
- redirect
Url String - Redirect url of error page rules.
- status
Code Double - Status code of error page rules.
- redirect
Code number - Redirect code of error page rules.
- redirect
Url string - Redirect url of error page rules.
- status
Code number - Status code of error page rules.
- redirect_
code float - Redirect code of error page rules.
- redirect_
url str - Redirect url of error page rules.
- status_
code float - Status code of error page rules.
- redirect
Code Number - Redirect code of error page rules.
- redirect
Url String - Redirect url of error page rules.
- status
Code Number - Status code of error page rules.
CdnDomainHttpsConfig, CdnDomainHttpsConfigArgs
- Https
Switch string - HTTPS configuration switch. Valid values are
on
andoff
. - Client
Certificate CdnConfig Domain Https Config Client Certificate Config - Client certificate configuration information.
- Force
Redirect CdnDomain Https Config Force Redirect - Configuration of forced HTTP or HTTPS redirects.
- Http2Switch string
- HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - Ocsp
Stapling stringSwitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - Server
Certificate CdnConfig Domain Https Config Server Certificate Config - Server certificate configuration information.
- Spdy
Switch string - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. This parameter is for white-list customer. - Tls
Versions 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.
- Verify
Client string - Client certificate authentication feature. Valid values are
on
andoff
. and default value isoff
.
- Https
Switch string - HTTPS configuration switch. Valid values are
on
andoff
. - Client
Certificate CdnConfig Domain Https Config Client Certificate Config - Client certificate configuration information.
- Force
Redirect CdnDomain Https Config Force Redirect - Configuration of forced HTTP or HTTPS redirects.
- Http2Switch string
- HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - Ocsp
Stapling stringSwitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - Server
Certificate CdnConfig Domain Https Config Server Certificate Config - Server certificate configuration information.
- Spdy
Switch string - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. This parameter is for white-list customer. - Tls
Versions []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.
- Verify
Client string - Client certificate authentication feature. Valid values are
on
andoff
. and default value isoff
.
- https
Switch String - HTTPS configuration switch. Valid values are
on
andoff
. - client
Certificate CdnConfig Domain Https Config Client Certificate Config - Client certificate configuration information.
- force
Redirect CdnDomain Https Config Force Redirect - Configuration of forced HTTP or HTTPS redirects.
- http2Switch String
- HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - ocsp
Stapling StringSwitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - server
Certificate CdnConfig Domain Https Config Server Certificate Config - Server certificate configuration information.
- spdy
Switch String - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. This parameter is for white-list customer. - tls
Versions 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.
- verify
Client String - Client certificate authentication feature. Valid values are
on
andoff
. and default value isoff
.
- https
Switch string - HTTPS configuration switch. Valid values are
on
andoff
. - client
Certificate CdnConfig Domain Https Config Client Certificate Config - Client certificate configuration information.
- force
Redirect CdnDomain Https Config Force Redirect - Configuration of forced HTTP or HTTPS redirects.
- http2Switch string
- HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - ocsp
Stapling stringSwitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - server
Certificate CdnConfig Domain Https Config Server Certificate Config - Server certificate configuration information.
- spdy
Switch string - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. This parameter is for white-list customer. - tls
Versions 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.
- verify
Client string - Client certificate authentication feature. Valid values are
on
andoff
. and default value isoff
.
- https_
switch str - HTTPS configuration switch. Valid values are
on
andoff
. - client_
certificate_ Cdnconfig Domain Https Config Client Certificate Config - Client certificate configuration information.
- force_
redirect CdnDomain Https Config Force Redirect - Configuration of forced HTTP or HTTPS redirects.
- http2_
switch str - HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - ocsp_
stapling_ strswitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - server_
certificate_ Cdnconfig Domain Https Config Server Certificate Config - Server certificate configuration information.
- spdy_
switch str - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. 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
andoff
. and default value isoff
.
- https
Switch String - HTTPS configuration switch. Valid values are
on
andoff
. - client
Certificate Property MapConfig - Client certificate configuration information.
- force
Redirect Property Map - Configuration of forced HTTP or HTTPS redirects.
- http2Switch String
- HTTP2 configuration switch. Valid values are
on
andoff
. and default value isoff
. - ocsp
Stapling StringSwitch - OCSP configuration switch. Valid values are
on
andoff
. and default value isoff
. - server
Certificate Property MapConfig - Server certificate configuration information.
- spdy
Switch String - Spdy configuration switch. Valid values are
on
andoff
. and default value isoff
. This parameter is for white-list customer. - tls
Versions 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.
- verify
Client String - Client certificate authentication feature. Valid values are
on
andoff
. and default value isoff
.
CdnDomainHttpsConfigClientCertificateConfig, CdnDomainHttpsConfigClientCertificateConfigArgs
- Certificate
Content string - Client Certificate PEM format, requires Base64 encoding.
- Certificate
Name string - Client certificate name.
- Deploy
Time string - Deploy time of client certificate.
- Expire
Time string - Expire time of client certificate.
- Certificate
Content string - Client Certificate PEM format, requires Base64 encoding.
- Certificate
Name string - Client certificate name.
- Deploy
Time string - Deploy time of client certificate.
- Expire
Time string - Expire time of client certificate.
- certificate
Content String - Client Certificate PEM format, requires Base64 encoding.
- certificate
Name String - Client certificate name.
- deploy
Time String - Deploy time of client certificate.
- expire
Time String - Expire time of client certificate.
- certificate
Content string - Client Certificate PEM format, requires Base64 encoding.
- certificate
Name string - Client certificate name.
- deploy
Time string - Deploy time of client certificate.
- expire
Time string - Expire time of client certificate.
- certificate_
content str - Client Certificate PEM format, requires Base64 encoding.
- certificate_
name str - Client certificate name.
- deploy_
time str - Deploy time of client certificate.
- expire_
time str - Expire time of client certificate.
- certificate
Content String - Client Certificate PEM format, requires Base64 encoding.
- certificate
Name String - Client certificate name.
- deploy
Time String - Deploy time of client certificate.
- expire
Time String - Expire time of client certificate.
CdnDomainHttpsConfigForceRedirect, CdnDomainHttpsConfigForceRedirectArgs
- Carry
Headers string - Whether to return the newly added header during force redirection. Values:
on
,off
. - Redirect
Status doubleCode - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - Redirect
Type string - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - Switch string
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
- Carry
Headers string - Whether to return the newly added header during force redirection. Values:
on
,off
. - Redirect
Status float64Code - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - Redirect
Type string - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - Switch string
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
- carry
Headers String - Whether to return the newly added header during force redirection. Values:
on
,off
. - redirect
Status DoubleCode - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - redirect
Type String - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - switch_ String
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
- carry
Headers string - Whether to return the newly added header during force redirection. Values:
on
,off
. - redirect
Status numberCode - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - redirect
Type string - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - switch string
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
- carry_
headers str - Whether to return the newly added header during force redirection. Values:
on
,off
. - redirect_
status_ floatcode - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - redirect_
type str - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - switch str
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
- carry
Headers String - Whether to return the newly added header during force redirection. Values:
on
,off
. - redirect
Status NumberCode - Forced redirect status code. Valid values are
301
and302
. Whenswitch
settingoff
, this property does not need to be set or set to302
. Default value is302
. - redirect
Type String - Forced redirect type. Valid values are
http
andhttps
.http
means a forced redirect from HTTPS to HTTP,https
means a forced redirect from HTTP to HTTPS. Whenswitch
settingoff
, this property does not need to be set or set tohttp
. Default value ishttp
. - switch String
- Forced redirect configuration switch. Valid values are
on
andoff
. Default value isoff
.
CdnDomainHttpsConfigServerCertificateConfig, CdnDomainHttpsConfigServerCertificateConfigArgs
- Certificate
Content string - Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
- Certificate
Id string - Server certificate ID.
- Certificate
Name string - Server certificate name.
- Deploy
Time string - Deploy time of server certificate.
- Expire
Time string - Expire time of server certificate.
- Message string
- Certificate remarks.
- Private
Key string - Server key information. This is required when uploading an external certificate.
- Certificate
Content string - Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
- Certificate
Id string - Server certificate ID.
- Certificate
Name string - Server certificate name.
- Deploy
Time string - Deploy time of server certificate.
- Expire
Time string - Expire time of server certificate.
- Message string
- Certificate remarks.
- Private
Key string - Server key information. This is required when uploading an external certificate.
- certificate
Content String - Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
- certificate
Id String - Server certificate ID.
- certificate
Name String - Server certificate name.
- deploy
Time String - Deploy time of server certificate.
- expire
Time String - Expire time of server certificate.
- message String
- Certificate remarks.
- private
Key String - Server key information. This is required when uploading an external certificate.
- certificate
Content string - Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
- certificate
Id string - Server certificate ID.
- certificate
Name string - Server certificate name.
- deploy
Time string - Deploy time of server certificate.
- expire
Time string - Expire time of server certificate.
- message string
- Certificate remarks.
- private
Key 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.
- certificate
Content String - Server certificate information. This is required when uploading an external certificate, which should contain the complete certificate chain.
- certificate
Id String - Server certificate ID.
- certificate
Name String - Server certificate name.
- deploy
Time String - Deploy time of server certificate.
- expire
Time String - Expire time of server certificate.
- message String
- Certificate remarks.
- private
Key String - Server key information. This is required when uploading an external certificate.
CdnDomainHwPrivateAccess, CdnDomainHwPrivateAccessArgs
- switch str
- Configuration switch, available values:
on
,off
(default). - access_
key str - Access ID.
- bucket str
- Bucket.
- secret_
key str - Key.
CdnDomainIpFilter, CdnDomainIpFilterArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Filter
Rules List<CdnDomain Ip Filter Filter Rule> - Ip filter rules, This feature is only available to selected beta customers.
- Filter
Type 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.
- Return
Code double - Return code, available values: 400-499.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Filter
Rules []CdnDomain Ip Filter Filter Rule - Ip filter rules, This feature is only available to selected beta customers.
- Filter
Type 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.
- Return
Code float64 - Return code, available values: 400-499.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - filter
Rules List<CdnDomain Ip Filter Filter Rule> - Ip filter rules, This feature is only available to selected beta customers.
- filter
Type 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.
- return
Code Double - Return code, available values: 400-499.
- switch string
- Configuration switch, available values:
on
,off
(default). - filter
Rules CdnDomain Ip Filter Filter Rule[] - Ip filter rules, This feature is only available to selected beta customers.
- filter
Type 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.
- return
Code number - Return code, available values: 400-499.
- switch str
- Configuration switch, available values:
on
,off
(default). - filter_
rules Sequence[CdnDomain Ip Filter Filter Rule] - Ip filter rules, This feature is only available to selected beta customers.
- filter_
type str - IP
blacklist
/whitelist
type. - filters Sequence[str]
- Ip filter list, Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- return_
code float - Return code, available values: 400-499.
- switch String
- Configuration switch, available values:
on
,off
(default). - filter
Rules List<Property Map> - Ip filter rules, This feature is only available to selected beta customers.
- filter
Type 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.
- return
Code Number - Return code, available values: 400-499.
CdnDomainIpFilterFilterRule, CdnDomainIpFilterFilterRuleArgs
- Filter
Type string - Ip filter
blacklist
/whitelist
type of filter rules. - Filters List<string>
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- Rule
Paths List<string> - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
- Filter
Type string - Ip filter
blacklist
/whitelist
type of filter rules. - Filters []string
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- Rule
Paths []string - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Rule
Type string - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
- filter
Type String - Ip filter
blacklist
/whitelist
type of filter rules. - filters List<String>
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- rule
Paths List<String> - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
- filter
Type string - Ip filter
blacklist
/whitelist
type of filter rules. - filters string[]
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- rule
Paths string[] - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type string - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
- filter_
type str - Ip filter
blacklist
/whitelist
type of filter rules. - filters Sequence[str]
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- rule_
paths Sequence[str] - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule_
type str - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
- filter
Type String - Ip filter
blacklist
/whitelist
type of filter rules. - filters List<String>
- Ip filter rule list, supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges. Up to 50 allowlists or blocklists can be entered.
- rule
Paths List<String> - Content list for each
rule_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - rule
Type String - Ip filter rule type of filter rules, available:
all
,file
,directory
,path
.
CdnDomainIpFreqLimit, CdnDomainIpFreqLimitArgs
CdnDomainMaxAge, CdnDomainMaxAgeArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Max
Age List<CdnRules Domain Max Age Max Age Rule> - List of Max Age rule configuration.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Max
Age []CdnRules Domain Max Age Max Age Rule - List of Max Age rule configuration.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - max
Age List<CdnRules Domain Max Age Max Age Rule> - List of Max Age rule configuration.
- switch string
- Configuration switch, available values:
on
,off
(default). - max
Age CdnRules Domain Max Age Max Age Rule[] - List of Max Age rule configuration.
- switch str
- Configuration switch, available values:
on
,off
(default). - max_
age_ Sequence[Cdnrules Domain Max Age Max Age Rule] - List of Max Age rule configuration.
- switch String
- Configuration switch, available values:
on
,off
(default). - max
Age List<Property Map>Rules - List of Max Age rule configuration.
CdnDomainMaxAgeMaxAgeRule, CdnDomainMaxAgeMaxAgeRuleArgs
- Max
Age List<string>Contents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Max
Age doubleTime - Max Age time in seconds, this can set to
0
that stands for no cache. - Max
Age stringType - 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 string - Whether to follow origin, values:
on
/off
, if set toon
, themax_age_time
will be ignored.
- Max
Age []stringContents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - Max
Age float64Time - Max Age time in seconds, this can set to
0
that stands for no cache. - Max
Age stringType - 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 string - Whether to follow origin, values:
on
/off
, if set toon
, themax_age_time
will be ignored.
- max
Age List<String>Contents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - max
Age DoubleTime - Max Age time in seconds, this can set to
0
that stands for no cache. - max
Age StringType - 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 String - Whether to follow origin, values:
on
/off
, if set toon
, themax_age_time
will be ignored.
- max
Age string[]Contents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - max
Age numberTime - Max Age time in seconds, this can set to
0
that stands for no cache. - max
Age stringType - 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 string - Whether to follow origin, values:
on
/off
, if set toon
, themax_age_time
will be ignored.
- max_
age_ Sequence[str]contents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - max_
age_ floattime - Max Age time in seconds, this can set to
0
that stands for no cache. - max_
age_ strtype - 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 toon
, themax_age_time
will be ignored.
- max
Age List<String>Contents - List of rule paths for each
max_age_type
:*
forall
, file ext likejpg
forfile
,/dir/like/
fordirectory
and/path/index.html
forpath
. - max
Age NumberTime - Max Age time in seconds, this can set to
0
that stands for no cache. - max
Age StringType - 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 String - Whether to follow origin, values:
on
/off
, if set toon
, themax_age_time
will be ignored.
CdnDomainOrigin, CdnDomainOriginArgs
- Origin
Lists 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
. - Origin
Type 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. - Backup
Origin List<string>Lists - 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 stringType - 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 stringName - 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 stringAccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - Origin
Company 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
. - Origin
Pull stringProtocol - 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 string - Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
- Origin
Lists []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
. - Origin
Type 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. - Backup
Origin []stringLists - 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 stringType - 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 stringName - 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 stringAccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - Origin
Company 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
. - Origin
Pull stringProtocol - 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 string - Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
- origin
Lists 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
. - origin
Type 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. - backup
Origin List<String>Lists - 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 StringType - 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 StringName - 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 StringAccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - origin
Company 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
. - origin
Pull StringProtocol - 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 String - Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
- origin
Lists 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
. - origin
Type 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. - backup
Origin string[]Lists - 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 stringType - 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 stringName - 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 stringAccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - origin
Company 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
. - origin
Pull stringProtocol - 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 string - Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
- origin_
lists Sequence[str] - Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding
origin_type
. - origin_
type str - Master origin server type. The following types are supported:
domain
: Domain name,domainv6
: IPv6 domain name,cos
: COS bucket address,third_party
: Third-party object storage origin,igtm
: IGTM origin,ip
: IP address,ipv6
: One IPv6 address,ip_ipv6
: Multiple IPv4 addresses and one IPv6 address,ip_domain
: IP addresses and domain names (only available to beta users),ip_domainv6
: Multiple IPv4 addresses and one IPv6 domain name,ipv6_domain
: Multiple IPv6 addresses and one domain name,ipv6_domainv6
: Multiple IPv6 addresses and one IPv6 domain name,domain_domainv6
: Multiple IPv4 domain names and one IPv6 domain name,ip_ipv6_domain
: Multiple IPv4 and IPv6 addresses and one domain name,ip_ipv6_domainv6
: Multiple IPv4 and IPv6 addresses and one IPv6 domain name,ip_domain_domainv6
: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name,ipv6_domain_domainv6
: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name,ip_ipv6_domain_domainv6
: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name. - backup_
origin_ Sequence[str]lists - 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_ strtype - 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_ strname - 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_ straccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - 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_ strprotocol - 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.
- origin
Lists 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
. - origin
Type 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. - backup
Origin List<String>Lists - 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 StringType - 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 StringName - 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 StringAccess - When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are
on
andoff
. and default value isoff
. - origin
Company 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
. - origin
Pull StringProtocol - 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 String - Host header used when accessing the master origin server. If left empty, the acceleration domain name will be used by default.
CdnDomainOriginPullOptimization, CdnDomainOriginPullOptimizationArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Optimization
Type string - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Optimization
Type string - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - optimization
Type String - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
- switch string
- Configuration switch, available values:
on
,off
(default). - optimization
Type string - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
- switch str
- Configuration switch, available values:
on
,off
(default). - optimization_
type str - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
- switch String
- Configuration switch, available values:
on
,off
(default). - optimization
Type String - Optimization type, values:
OVToCN
- Overseas to CN,CNToOV
CN to Overseas.
CdnDomainOriginPullTimeout, CdnDomainOriginPullTimeoutArgs
- Connect
Timeout double - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- Receive
Timeout double - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
- Connect
Timeout float64 - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- Receive
Timeout float64 - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
- connect
Timeout Double - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- receive
Timeout Double - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
- connect
Timeout number - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- receive
Timeout number - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
- connect_
timeout float - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- receive_
timeout float - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
- connect
Timeout Number - The origin-pull connection timeout (in seconds). Valid range: 5-60.
- receive
Timeout Number - The origin-pull receipt timeout (in seconds). Valid range: 10-60.
CdnDomainOssPrivateAccess, CdnDomainOssPrivateAccessArgs
- switch str
- Configuration switch, available values:
on
,off
(default). - access_
key str - Access ID.
- bucket str
- Bucket.
- region str
- Region.
- secret_
key str - Key.
CdnDomainOthersPrivateAccess, CdnDomainOthersPrivateAccessArgs
- switch str
- Configuration switch, available values:
on
,off
(default). - access_
key str - Access ID.
- bucket str
- Bucket.
- region str
- Region.
- secret_
key str - Key.
CdnDomainPostMaxSize, CdnDomainPostMaxSizeArgs
CdnDomainQnPrivateAccess, CdnDomainQnPrivateAccessArgs
- switch str
- Configuration switch, available values:
on
,off
(default). - access_
key str - Access ID.
- secret_
key str - Key.
CdnDomainReferer, CdnDomainRefererArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Referer
Rules List<CdnDomain Referer Referer Rule> - List of referer rules.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Referer
Rules []CdnDomain Referer Referer Rule - List of referer rules.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - referer
Rules List<CdnDomain Referer Referer Rule> - List of referer rules.
- switch string
- Configuration switch, available values:
on
,off
(default). - referer
Rules CdnDomain Referer Referer Rule[] - List of referer rules.
- switch str
- Configuration switch, available values:
on
,off
(default). - referer_
rules Sequence[CdnDomain Referer Referer Rule] - List of referer rules.
- switch String
- Configuration switch, available values:
on
,off
(default). - referer
Rules List<Property Map> - List of referer rules.
CdnDomainRefererRefererRule, CdnDomainRefererRefererRuleArgs
- Allow
Empty bool - Whether to allow emptpy.
- Referer
Type string - Referer type.
- Referers List<string>
- Referer list.
- Rule
Paths List<string> - Referer rule path list.
- Rule
Type string - Referer rule type.
- Allow
Empty bool - Whether to allow emptpy.
- Referer
Type string - Referer type.
- Referers []string
- Referer list.
- Rule
Paths []string - Referer rule path list.
- Rule
Type string - Referer rule type.
- allow
Empty Boolean - Whether to allow emptpy.
- referer
Type String - Referer type.
- referers List<String>
- Referer list.
- rule
Paths List<String> - Referer rule path list.
- rule
Type String - Referer rule type.
- allow
Empty boolean - Whether to allow emptpy.
- referer
Type string - Referer type.
- referers string[]
- Referer list.
- rule
Paths string[] - Referer rule path list.
- rule
Type string - Referer rule type.
- allow_
empty bool - Whether to allow emptpy.
- referer_
type str - Referer type.
- referers Sequence[str]
- Referer list.
- rule_
paths Sequence[str] - Referer rule path list.
- rule_
type str - Referer rule type.
- allow
Empty Boolean - Whether to allow emptpy.
- referer
Type String - Referer type.
- referers List<String>
- Referer list.
- rule
Paths List<String> - Referer rule path list.
- rule
Type String - Referer rule type.
CdnDomainRequestHeader, CdnDomainRequestHeaderArgs
- Header
Rules List<CdnDomain Request Header Header Rule> - Custom request header configuration rules.
- Switch string
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
- Header
Rules []CdnDomain Request Header Header Rule - Custom request header configuration rules.
- Switch string
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
- header
Rules List<CdnDomain Request Header Header Rule> - Custom request header configuration rules.
- switch_ String
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
- header
Rules CdnDomain Request Header Header Rule[] - Custom request header configuration rules.
- switch string
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
- header_
rules Sequence[CdnDomain Request Header Header Rule] - Custom request header configuration rules.
- switch str
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
- header
Rules List<Property Map> - Custom request header configuration rules.
- switch String
- Custom request header configuration switch. Valid values are
on
andoff
. and default value isoff
.
CdnDomainRequestHeaderHeaderRule, CdnDomainRequestHeaderHeaderRuleArgs
- Header
Mode string - Response header mode.
- Header
Name string - response header name of rule.
- Header
Value string - response header value of rule.
- Rule
Paths List<string> - response rule paths of rule.
- Rule
Type string - response rule type of rule.
- Header
Mode string - Response header mode.
- Header
Name string - response header name of rule.
- Header
Value string - response header value of rule.
- Rule
Paths []string - response rule paths of rule.
- Rule
Type string - response rule type of rule.
- header
Mode String - Response header mode.
- header
Name String - response header name of rule.
- header
Value String - response header value of rule.
- rule
Paths List<String> - response rule paths of rule.
- rule
Type String - response rule type of rule.
- header
Mode string - Response header mode.
- header
Name string - response header name of rule.
- header
Value string - response header value of rule.
- rule
Paths string[] - response rule paths of rule.
- rule
Type string - response rule type of rule.
- header_
mode str - Response header mode.
- header_
name str - response header name of rule.
- header_
value str - response header value of rule.
- rule_
paths Sequence[str] - response rule paths of rule.
- rule_
type str - response rule type of rule.
- header
Mode String - Response header mode.
- header
Name String - response header name of rule.
- header
Value String - response header value of rule.
- rule
Paths List<String> - response rule paths of rule.
- rule
Type String - response rule type of rule.
CdnDomainResponseHeader, CdnDomainResponseHeaderArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Header
Rules List<CdnDomain Response Header Header Rule> - List of response header rule.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Header
Rules []CdnDomain Response Header Header Rule - List of response header rule.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - header
Rules List<CdnDomain Response Header Header Rule> - List of response header rule.
- switch string
- Configuration switch, available values:
on
,off
(default). - header
Rules CdnDomain Response Header Header Rule[] - List of response header rule.
- switch str
- Configuration switch, available values:
on
,off
(default). - header_
rules Sequence[CdnDomain Response Header Header Rule] - List of response header rule.
- switch String
- Configuration switch, available values:
on
,off
(default). - header
Rules List<Property Map> - List of response header rule.
CdnDomainResponseHeaderHeaderRule, CdnDomainResponseHeaderHeaderRuleArgs
- Header
Mode string - Response header mode.
- Header
Name string - response header name of rule.
- Header
Value string - response header value of rule.
- Rule
Paths List<string> - response rule paths of rule.
- Rule
Type string - response rule type of rule.
- Header
Mode string - Response header mode.
- Header
Name string - response header name of rule.
- Header
Value string - response header value of rule.
- Rule
Paths []string - response rule paths of rule.
- Rule
Type string - response rule type of rule.
- header
Mode String - Response header mode.
- header
Name String - response header name of rule.
- header
Value String - response header value of rule.
- rule
Paths List<String> - response rule paths of rule.
- rule
Type String - response rule type of rule.
- header
Mode string - Response header mode.
- header
Name string - response header name of rule.
- header
Value string - response header value of rule.
- rule
Paths string[] - response rule paths of rule.
- rule
Type string - response rule type of rule.
- header_
mode str - Response header mode.
- header_
name str - response header name of rule.
- header_
value str - response header value of rule.
- rule_
paths Sequence[str] - response rule paths of rule.
- rule_
type str - response rule type of rule.
- header
Mode String - Response header mode.
- header
Name String - response header name of rule.
- header
Value String - response header value of rule.
- rule
Paths List<String> - response rule paths of rule.
- rule
Type String - response rule type of rule.
CdnDomainRuleCach, CdnDomainRuleCachArgs
- Cache
Time double - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- Compare
Max stringAge - 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
andoff
. Default value isoff
. - Follow
Origin stringSwitch - Follow the source station configuration switch. Valid values are
on
andoff
. - Heuristic
Cache stringSwitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - Heuristic
Cache doubleTime - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - Ignore
Cache stringControl - 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
andoff
. Default value isoff
. - string
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - No
Cache stringSwitch - Cache configuration switch. Valid values are
on
andoff
. - Re
Validate string - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - Rule
Paths 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 /. - Rule
Type 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
andoff
.
- Cache
Time float64 - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- Compare
Max stringAge - 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
andoff
. Default value isoff
. - Follow
Origin stringSwitch - Follow the source station configuration switch. Valid values are
on
andoff
. - Heuristic
Cache stringSwitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - Heuristic
Cache float64Time - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - Ignore
Cache stringControl - 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
andoff
. Default value isoff
. - string
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - No
Cache stringSwitch - Cache configuration switch. Valid values are
on
andoff
. - Re
Validate string - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - Rule
Paths []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 /. - Rule
Type 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
andoff
.
- cache
Time Double - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- compare
Max StringAge - 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
andoff
. Default value isoff
. - follow
Origin StringSwitch - Follow the source station configuration switch. Valid values are
on
andoff
. - heuristic
Cache StringSwitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - heuristic
Cache DoubleTime - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - ignore
Cache StringControl - 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
andoff
. Default value isoff
. - String
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - no
Cache StringSwitch - Cache configuration switch. Valid values are
on
andoff
. - re
Validate String - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - rule
Paths 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 /. - rule
Type 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
andoff
.
- cache
Time number - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- compare
Max stringAge - 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
andoff
. Default value isoff
. - follow
Origin stringSwitch - Follow the source station configuration switch. Valid values are
on
andoff
. - heuristic
Cache stringSwitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - heuristic
Cache numberTime - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - ignore
Cache stringControl - 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
andoff
. Default value isoff
. - string
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - no
Cache stringSwitch - Cache configuration switch. Valid values are
on
andoff
. - re
Validate string - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - rule
Paths 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 /. - rule
Type 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
andoff
.
- cache_
time float - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- compare_
max_ strage - 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
andoff
. Default value isoff
. - follow_
origin_ strswitch - Follow the source station configuration switch. Valid values are
on
andoff
. - heuristic_
cache_ strswitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - heuristic_
cache_ floattime - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - ignore_
cache_ strcontrol - 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
andoff
. Default value isoff
. - str
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - no_
cache_ strswitch - Cache configuration switch. Valid values are
on
andoff
. - re_
validate str - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - 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
andoff
.
- cache
Time Number - Cache expiration time setting, the unit is second, the maximum can be set to 365 days.
- compare
Max StringAge - 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
andoff
. Default value isoff
. - follow
Origin StringSwitch - Follow the source station configuration switch. Valid values are
on
andoff
. - heuristic
Cache StringSwitch - Specify whether to enable heuristic cache, only available while
follow_origin_switch
enabled, values:on
,off
(Default). - heuristic
Cache NumberTime - Specify heuristic cache time in second, only available while
follow_origin_switch
andheuristic_cache_switch
enabled. - ignore
Cache StringControl - 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
andoff
. Default value isoff
. - String
- Ignore the Set-Cookie header of the origin site. Valid values are
on
andoff
. Default value isoff
. This parameter is for white-list customer. - no
Cache StringSwitch - Cache configuration switch. Valid values are
on
andoff
. - re
Validate String - Always check back to origin. Valid values are
on
andoff
. Default value isoff
. - rule
Paths 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 /. - rule
Type 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
andoff
.
CdnDomainStatusCodeCache, CdnDomainStatusCodeCacheArgs
- Switch string
- Configuration switch, available values:
on
,off
(default). - Cache
Rules List<CdnDomain Status Code Cache Cache Rule> - List of cache rule.
- Switch string
- Configuration switch, available values:
on
,off
(default). - Cache
Rules []CdnDomain Status Code Cache Cache Rule - List of cache rule.
- switch_ String
- Configuration switch, available values:
on
,off
(default). - cache
Rules List<CdnDomain Status Code Cache Cache Rule> - List of cache rule.
- switch string
- Configuration switch, available values:
on
,off
(default). - cache
Rules CdnDomain Status Code Cache Cache Rule[] - List of cache rule.
- switch str
- Configuration switch, available values:
on
,off
(default). - cache_
rules Sequence[CdnDomain Status Code Cache Cache Rule] - List of cache rule.
- switch String
- Configuration switch, available values:
on
,off
(default). - cache
Rules List<Property Map> - List of cache rule.
CdnDomainStatusCodeCacheCacheRule, CdnDomainStatusCodeCacheCacheRuleArgs
- Cache
Time double - Status code cache expiration time (in seconds).
- Status
Code string - Code of status cache. available values:
403
,404
.
- Cache
Time float64 - Status code cache expiration time (in seconds).
- Status
Code string - Code of status cache. available values:
403
,404
.
- cache
Time Double - Status code cache expiration time (in seconds).
- status
Code String - Code of status cache. available values:
403
,404
.
- cache
Time number - Status code cache expiration time (in seconds).
- status
Code string - Code of status cache. available values:
403
,404
.
- cache_
time float - Status code cache expiration time (in seconds).
- status_
code str - Code of status cache. available values:
403
,404
.
- cache
Time Number - Status code cache expiration time (in seconds).
- status
Code String - Code of status cache. available values:
403
,404
.
Import
CDN domain can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cdnDomain:CdnDomain foo xxxx.com
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.