Domain
Create a Domain Resource
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);def Domain(resource_name, opts=None, auth_config=None, block_ips=None, cache_configs=None, cdn_type=None, certificate_config=None, domain_name=None, http_header_configs=None, optimize_enable=None, page404_config=None, page_compress_enable=None, parameter_filter_config=None, range_enable=None, refer_config=None, scope=None, source_port=None, source_type=None, sources=None, video_seek_enable=None, __props__=None);func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Domain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Domain resource accepts the following input properties:
- Cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- Domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- Auth
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Auth Config Args The auth config of the accelerated domain.
- Block
Ips List<string> - Cache
Configs List<Pulumi.Ali Cloud. Cdn. Inputs. Domain Cache Config Args> The cache configs of the accelerated domain.
- Certificate
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Certificate Config Args - Http
Header List<Pulumi.Configs Ali Cloud. Cdn. Inputs. Domain Http Header Config Args> The http header configs of the accelerated domain.
- Optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- Page404Config
Pulumi.
Ali Cloud. Cdn. Inputs. Domain Page404Config Args The error page config of the accelerated domain.
- Page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Parameter
Filter Pulumi.Config Ali Cloud. Cdn. Inputs. Domain Parameter Filter Config Args The parameter filter config of the accelerated domain.
- Range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Refer
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Refer Config Args The refer config of the accelerated domain.
- Scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- Source
Port int Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- Source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- Sources List<string>
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- Video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- Cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- Domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- Auth
Config DomainAuth Config The auth config of the accelerated domain.
- Block
Ips []string - Cache
Configs []DomainCache Config The cache configs of the accelerated domain.
- Certificate
Config DomainCertificate Config - Http
Header []DomainConfigs Http Header Config The http header configs of the accelerated domain.
- Optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- Page404Config
Domain
Page404Config The error page config of the accelerated domain.
- Page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Parameter
Filter DomainConfig Parameter Filter Config The parameter filter config of the accelerated domain.
- Range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Refer
Config DomainRefer Config The refer config of the accelerated domain.
- Scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- Source
Port int Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- Source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- Sources []string
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- Video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- auth
Config DomainAuth Config The auth config of the accelerated domain.
- block
Ips string[] - cache
Configs DomainCache Config[] The cache configs of the accelerated domain.
- certificate
Config DomainCertificate Config - http
Header DomainConfigs Http Header Config[] The http header configs of the accelerated domain.
- optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- page404Config
Domain
Page404Config The error page config of the accelerated domain.
- page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- parameter
Filter DomainConfig Parameter Filter Config The parameter filter config of the accelerated domain.
- range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- refer
Config DomainRefer Config The refer config of the accelerated domain.
- scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- source
Port number Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- sources string[]
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- cdn_
type str Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- domain_
name str Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- auth_
config Dict[DomainAuth Config] The auth config of the accelerated domain.
- block_
ips List[str] - cache_
configs List[DomainCache Config] The cache configs of the accelerated domain.
- certificate_
config Dict[DomainCertificate Config] - http_
header_ List[Domainconfigs Http Header Config] The http header configs of the accelerated domain.
- optimize_
enable str Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- page404_
config Dict[DomainPage404Config] The error page config of the accelerated domain.
- page_
compress_ strenable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- parameter_
filter_ Dict[Domainconfig Parameter Filter Config] The parameter filter config of the accelerated domain.
- range_
enable str Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- refer_
config Dict[DomainRefer Config] The refer config of the accelerated domain.
- scope str
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- source_
port float Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- source_
type str Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- sources List[str]
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- video_
seek_ strenable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
Look up an Existing Domain Resource
Get an existing Domain 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?: DomainState, opts?: CustomResourceOptions): Domainstatic get(resource_name, id, opts=None, auth_config=None, block_ips=None, cache_configs=None, cdn_type=None, certificate_config=None, domain_name=None, http_header_configs=None, optimize_enable=None, page404_config=None, page_compress_enable=None, parameter_filter_config=None, range_enable=None, refer_config=None, scope=None, source_port=None, source_type=None, sources=None, video_seek_enable=None, __props__=None);func GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Auth
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Auth Config Args The auth config of the accelerated domain.
- Block
Ips List<string> - Cache
Configs List<Pulumi.Ali Cloud. Cdn. Inputs. Domain Cache Config Args> The cache configs of the accelerated domain.
- Cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- Certificate
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Certificate Config Args - Domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- Http
Header List<Pulumi.Configs Ali Cloud. Cdn. Inputs. Domain Http Header Config Args> The http header configs of the accelerated domain.
- Optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- Page404Config
Pulumi.
Ali Cloud. Cdn. Inputs. Domain Page404Config Args The error page config of the accelerated domain.
- Page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Parameter
Filter Pulumi.Config Ali Cloud. Cdn. Inputs. Domain Parameter Filter Config Args The parameter filter config of the accelerated domain.
- Range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Refer
Config Pulumi.Ali Cloud. Cdn. Inputs. Domain Refer Config Args The refer config of the accelerated domain.
- Scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- Source
Port int Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- Source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- Sources List<string>
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- Video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- Auth
Config DomainAuth Config The auth config of the accelerated domain.
- Block
Ips []string - Cache
Configs []DomainCache Config The cache configs of the accelerated domain.
- Cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- Certificate
Config DomainCertificate Config - Domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- Http
Header []DomainConfigs Http Header Config The http header configs of the accelerated domain.
- Optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- Page404Config
Domain
Page404Config The error page config of the accelerated domain.
- Page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Parameter
Filter DomainConfig Parameter Filter Config The parameter filter config of the accelerated domain.
- Range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- Refer
Config DomainRefer Config The refer config of the accelerated domain.
- Scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- Source
Port int Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- Source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- Sources []string
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- Video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- auth
Config DomainAuth Config The auth config of the accelerated domain.
- block
Ips string[] - cache
Configs DomainCache Config[] The cache configs of the accelerated domain.
- cdn
Type string Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- certificate
Config DomainCertificate Config - domain
Name string Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- http
Header DomainConfigs Http Header Config[] The http header configs of the accelerated domain.
- optimize
Enable string Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- page404Config
Domain
Page404Config The error page config of the accelerated domain.
- page
Compress stringEnable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- parameter
Filter DomainConfig Parameter Filter Config The parameter filter config of the accelerated domain.
- range
Enable string Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- refer
Config DomainRefer Config The refer config of the accelerated domain.
- scope string
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- source
Port number Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- source
Type string Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- sources string[]
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- video
Seek stringEnable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
- auth_
config Dict[DomainAuth Config] The auth config of the accelerated domain.
- block_
ips List[str] - cache_
configs List[DomainCache Config] The cache configs of the accelerated domain.
- cdn_
type str Cdn type of the accelerated domain. Valid values are
web,download,video,liveStream.- certificate_
config Dict[DomainCertificate Config] - domain_
name str Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix
.shand.telare not supported.- http_
header_ List[Domainconfigs Http Header Config] The http header configs of the accelerated domain.
- optimize_
enable str Page Optimize config of the accelerated domain. Valid values are
onandoff. Default value isoff. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value ison.- page404_
config Dict[DomainPage404Config] The error page config of the accelerated domain.
- page_
compress_ strenable Page Compress config of the accelerated domain. Valid values are
onandoff. Default value isoff.- parameter_
filter_ Dict[Domainconfig Parameter Filter Config] The parameter filter config of the accelerated domain.
- range_
enable str Range Source config of the accelerated domain. Valid values are
onandoff. Default value isoff.- refer_
config Dict[DomainRefer Config] The refer config of the accelerated domain.
- scope str
Scope of the accelerated domain. Valid values are
domestic,overseas,global. Default value isdomestic. This parameter’s setting is valid Only for the international users and domestic L3 and above users .- source_
port float Source port of the accelerated domain. Valid values are
80and443. Default value is80. You must use80when thesource_typeisoss.- source_
type str Source type of the accelerated domain. Valid values are
ipaddr,domain,oss. You must set this parameter whencdn_typevalue is notliveStream.- sources List[str]
Sources of the accelerated domain. It’s a list of domain names or IP address and consists of at most 20 items. You must set this parameter when
cdn_typevalue is notliveStream.- video_
seek_ strenable Video Seek config of the accelerated domain. Valid values are
onandoff. Default value isoff.
Supporting Types
DomainAuthConfig
- Auth
Type string Auth type of the auth config. Valid values are
no_auth,type_a,type_bandtype_c. Default value isno_auth.- Master
Key string Master authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- Slave
Key string Slave authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- Timeout int
Authentication cache time of the auth config. Default value is
1800. It’s value is valid only when theauth_typeistype_bortype_c.
- Auth
Type string Auth type of the auth config. Valid values are
no_auth,type_a,type_bandtype_c. Default value isno_auth.- Master
Key string Master authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- Slave
Key string Slave authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- Timeout int
Authentication cache time of the auth config. Default value is
1800. It’s value is valid only when theauth_typeistype_bortype_c.
- auth
Type string Auth type of the auth config. Valid values are
no_auth,type_a,type_bandtype_c. Default value isno_auth.- master
Key string Master authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- slave
Key string Slave authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- timeout number
Authentication cache time of the auth config. Default value is
1800. It’s value is valid only when theauth_typeistype_bortype_c.
- auth_
type str Auth type of the auth config. Valid values are
no_auth,type_a,type_bandtype_c. Default value isno_auth.- master
Key str Master authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- slave
Key str Slave authentication key of the auth config. This parameter can have a string of 6 to 32 characters and must contain only alphanumeric characters.
- timeout float
Authentication cache time of the auth config. Default value is
1800. It’s value is valid only when theauth_typeistype_bortype_c.
DomainCacheConfig
- Cache
Content string Cache content of the cache config. It’s value is a path string when the
cache_typeispath. When thecache_typeissuffix, it’s value is a string which contains multiple file suffixes separated by commas.- Cache
Type string Cache type of the cache config. Valid values are
suffixandpath.- Ttl int
Cache time of the cache config.
- Cache
Id string - Weight int
Weight of the cache config. This parameter’s value is between 1 and 99. Default value is
1. The higher the value, the higher the priority.
- Cache
Content string Cache content of the cache config. It’s value is a path string when the
cache_typeispath. When thecache_typeissuffix, it’s value is a string which contains multiple file suffixes separated by commas.- Cache
Type string Cache type of the cache config. Valid values are
suffixandpath.- Ttl int
Cache time of the cache config.
- Cache
Id string - Weight int
Weight of the cache config. This parameter’s value is between 1 and 99. Default value is
1. The higher the value, the higher the priority.
- cache
Content string Cache content of the cache config. It’s value is a path string when the
cache_typeispath. When thecache_typeissuffix, it’s value is a string which contains multiple file suffixes separated by commas.- cache
Type string Cache type of the cache config. Valid values are
suffixandpath.- ttl number
Cache time of the cache config.
- cache
Id string - weight number
Weight of the cache config. This parameter’s value is between 1 and 99. Default value is
1. The higher the value, the higher the priority.
- cache
Content str Cache content of the cache config. It’s value is a path string when the
cache_typeispath. When thecache_typeissuffix, it’s value is a string which contains multiple file suffixes separated by commas.- cache
Type str Cache type of the cache config. Valid values are
suffixandpath.- ttl float
Cache time of the cache config.
- cache
Id str - weight float
Weight of the cache config. This parameter’s value is between 1 and 99. Default value is
1. The higher the value, the higher the priority.
DomainCertificateConfig
- Private
Key string The SSL private key. This is required if
server_certificate_statusison- Server
Certificate string The SSL server certificate string. This is required if
server_certificate_statusison- Server
Certificate stringStatus This parameter indicates whether or not enable https. Valid values are
onandoff. Default value ison.
- Private
Key string The SSL private key. This is required if
server_certificate_statusison- Server
Certificate string The SSL server certificate string. This is required if
server_certificate_statusison- Server
Certificate stringStatus This parameter indicates whether or not enable https. Valid values are
onandoff. Default value ison.
- private
Key string The SSL private key. This is required if
server_certificate_statusison- server
Certificate string The SSL server certificate string. This is required if
server_certificate_statusison- server
Certificate stringStatus This parameter indicates whether or not enable https. Valid values are
onandoff. Default value ison.
- private_
key str The SSL private key. This is required if
server_certificate_statusison- server
Certificate strStatus This parameter indicates whether or not enable https. Valid values are
onandoff. Default value ison.- server_
certificate str The SSL server certificate string. This is required if
server_certificate_statusison
DomainHttpHeaderConfig
DomainPage404Config
- Custom
Page stringUrl Custom page url of the error page. It must be the full path under the accelerated domain name. It’s value must be
http://promotion.alicdn.com/help/oss/error.htmlwhenpage_typevalue ischarityand It can not be set whenpage_typevalue isdefault.- Error
Code string - Page
Type string Page type of the error page. Valid values are
default,charity,other. Default value isdefault.
- Custom
Page stringUrl Custom page url of the error page. It must be the full path under the accelerated domain name. It’s value must be
http://promotion.alicdn.com/help/oss/error.htmlwhenpage_typevalue ischarityand It can not be set whenpage_typevalue isdefault.- Error
Code string - Page
Type string Page type of the error page. Valid values are
default,charity,other. Default value isdefault.
- custom
Page stringUrl Custom page url of the error page. It must be the full path under the accelerated domain name. It’s value must be
http://promotion.alicdn.com/help/oss/error.htmlwhenpage_typevalue ischarityand It can not be set whenpage_typevalue isdefault.- error
Code string - page
Type string Page type of the error page. Valid values are
default,charity,other. Default value isdefault.
- custom
Page strUrl Custom page url of the error page. It must be the full path under the accelerated domain name. It’s value must be
http://promotion.alicdn.com/help/oss/error.htmlwhenpage_typevalue ischarityand It can not be set whenpage_typevalue isdefault.- error
Code str - page
Type str Page type of the error page. Valid values are
default,charity,other. Default value isdefault.
DomainParameterFilterConfig
- Enable string
This parameter indicates whether or not the
parameter_filter_configis enable. Valid values areonandoff. Default value isoff.- Hash
Key List<string>Args Reserved parameters of
parameter_filter_config. It’s a list of string and consists of at most 10 items.
- Enable string
This parameter indicates whether or not the
parameter_filter_configis enable. Valid values areonandoff. Default value isoff.- Hash
Key []stringArgs Reserved parameters of
parameter_filter_config. It’s a list of string and consists of at most 10 items.
- enable string
This parameter indicates whether or not the
parameter_filter_configis enable. Valid values areonandoff. Default value isoff.- hash
Key string[]Args Reserved parameters of
parameter_filter_config. It’s a list of string and consists of at most 10 items.
- enable str
This parameter indicates whether or not the
parameter_filter_configis enable. Valid values areonandoff. Default value isoff.- hash
Key List[str]Args Reserved parameters of
parameter_filter_config. It’s a list of string and consists of at most 10 items.
DomainReferConfig
- Refer
Lists List<string> A list of domain names of the refer config.
- Allow
Empty string This parameter indicates whether or not to allow empty refer access. Valid values are
onandoff. Default value ison.- Refer
Type string Refer type of the refer config. Valid values are
blockandallow. Default value isblock.
- Refer
Lists []string A list of domain names of the refer config.
- Allow
Empty string This parameter indicates whether or not to allow empty refer access. Valid values are
onandoff. Default value ison.- Refer
Type string Refer type of the refer config. Valid values are
blockandallow. Default value isblock.
- refer
Lists string[] A list of domain names of the refer config.
- allow
Empty string This parameter indicates whether or not to allow empty refer access. Valid values are
onandoff. Default value ison.- refer
Type string Refer type of the refer config. Valid values are
blockandallow. Default value isblock.
- refer
Lists List[str] A list of domain names of the refer config.
- allow
Empty str This parameter indicates whether or not to allow empty refer access. Valid values are
onandoff. Default value ison.- refer
Type str Refer type of the refer config. Valid values are
blockandallow. Default value isblock.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.