published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Global configuration extends domain configuration capabilities with the following advantages: increases the capacity of denylist and allowlist. For example, an IP denylist can contain up to 30,000 entries. Improves domain configuration efficiency. A single global configuration can be associated with multiple domains. Provides a common list type that can be used in additional domain configurations. Modifications to a global configuration are immediately applied to all associated domains.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
cDNShareConfigDemo:
type: volcenginecc:cdn:ShareConfig
name: CDNShareConfigDemo
properties:
configName: CDNShareConfigDemo
configType: allow_referer_access_rule
project: default
allowRefererAccessRule:
allow_empty: true
common_type:
ignoreCase: true
rules:
- 139.x.x.1
- 139.x.x.2
Create ShareConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ShareConfig(name: string, args?: ShareConfigArgs, opts?: CustomResourceOptions);@overload
def ShareConfig(resource_name: str,
args: Optional[ShareConfigArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ShareConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_ip_access_rule: Optional[ShareConfigAllowIpAccessRuleArgs] = None,
allow_referer_access_rule: Optional[ShareConfigAllowRefererAccessRuleArgs] = None,
common_match_list: Optional[ShareConfigCommonMatchListArgs] = None,
config_name: Optional[str] = None,
config_type: Optional[str] = None,
deny_ip_access_rule: Optional[ShareConfigDenyIpAccessRuleArgs] = None,
deny_referer_access_rule: Optional[ShareConfigDenyRefererAccessRuleArgs] = None,
project: Optional[str] = None)func NewShareConfig(ctx *Context, name string, args *ShareConfigArgs, opts ...ResourceOption) (*ShareConfig, error)public ShareConfig(string name, ShareConfigArgs? args = null, CustomResourceOptions? opts = null)
public ShareConfig(String name, ShareConfigArgs args)
public ShareConfig(String name, ShareConfigArgs args, CustomResourceOptions options)
type: volcenginecc:cdn:ShareConfig
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 ShareConfigArgs
- 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 ShareConfigArgs
- 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 ShareConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ShareConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ShareConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var shareConfigResource = new Volcenginecc.Cdn.ShareConfig("shareConfigResource", new()
{
AllowIpAccessRule = new Volcenginecc.Cdn.Inputs.ShareConfigAllowIpAccessRuleArgs
{
Rules = new[]
{
"string",
},
},
AllowRefererAccessRule = new Volcenginecc.Cdn.Inputs.ShareConfigAllowRefererAccessRuleArgs
{
AllowEmpty = false,
CommonType = new Volcenginecc.Cdn.Inputs.ShareConfigAllowRefererAccessRuleCommonTypeArgs
{
IgnoreCase = false,
Rules = new[]
{
"string",
},
},
},
CommonMatchList = new Volcenginecc.Cdn.Inputs.ShareConfigCommonMatchListArgs
{
CommonType = new Volcenginecc.Cdn.Inputs.ShareConfigCommonMatchListCommonTypeArgs
{
IgnoreCase = false,
Rules = new[]
{
"string",
},
},
},
ConfigName = "string",
ConfigType = "string",
DenyIpAccessRule = new Volcenginecc.Cdn.Inputs.ShareConfigDenyIpAccessRuleArgs
{
Rules = new[]
{
"string",
},
},
DenyRefererAccessRule = new Volcenginecc.Cdn.Inputs.ShareConfigDenyRefererAccessRuleArgs
{
AllowEmpty = false,
CommonType = new Volcenginecc.Cdn.Inputs.ShareConfigDenyRefererAccessRuleCommonTypeArgs
{
IgnoreCase = false,
Rules = new[]
{
"string",
},
},
},
Project = "string",
});
example, err := cdn.NewShareConfig(ctx, "shareConfigResource", &cdn.ShareConfigArgs{
AllowIpAccessRule: &cdn.ShareConfigAllowIpAccessRuleArgs{
Rules: pulumi.StringArray{
pulumi.String("string"),
},
},
AllowRefererAccessRule: &cdn.ShareConfigAllowRefererAccessRuleArgs{
AllowEmpty: pulumi.Bool(false),
CommonType: &cdn.ShareConfigAllowRefererAccessRuleCommonTypeArgs{
IgnoreCase: pulumi.Bool(false),
Rules: pulumi.StringArray{
pulumi.String("string"),
},
},
},
CommonMatchList: &cdn.ShareConfigCommonMatchListArgs{
CommonType: &cdn.ShareConfigCommonMatchListCommonTypeArgs{
IgnoreCase: pulumi.Bool(false),
Rules: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ConfigName: pulumi.String("string"),
ConfigType: pulumi.String("string"),
DenyIpAccessRule: &cdn.ShareConfigDenyIpAccessRuleArgs{
Rules: pulumi.StringArray{
pulumi.String("string"),
},
},
DenyRefererAccessRule: &cdn.ShareConfigDenyRefererAccessRuleArgs{
AllowEmpty: pulumi.Bool(false),
CommonType: &cdn.ShareConfigDenyRefererAccessRuleCommonTypeArgs{
IgnoreCase: pulumi.Bool(false),
Rules: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Project: pulumi.String("string"),
})
var shareConfigResource = new ShareConfig("shareConfigResource", ShareConfigArgs.builder()
.allowIpAccessRule(ShareConfigAllowIpAccessRuleArgs.builder()
.rules("string")
.build())
.allowRefererAccessRule(ShareConfigAllowRefererAccessRuleArgs.builder()
.allowEmpty(false)
.commonType(ShareConfigAllowRefererAccessRuleCommonTypeArgs.builder()
.ignoreCase(false)
.rules("string")
.build())
.build())
.commonMatchList(ShareConfigCommonMatchListArgs.builder()
.commonType(ShareConfigCommonMatchListCommonTypeArgs.builder()
.ignoreCase(false)
.rules("string")
.build())
.build())
.configName("string")
.configType("string")
.denyIpAccessRule(ShareConfigDenyIpAccessRuleArgs.builder()
.rules("string")
.build())
.denyRefererAccessRule(ShareConfigDenyRefererAccessRuleArgs.builder()
.allowEmpty(false)
.commonType(ShareConfigDenyRefererAccessRuleCommonTypeArgs.builder()
.ignoreCase(false)
.rules("string")
.build())
.build())
.project("string")
.build());
share_config_resource = volcenginecc.cdn.ShareConfig("shareConfigResource",
allow_ip_access_rule={
"rules": ["string"],
},
allow_referer_access_rule={
"allow_empty": False,
"common_type": {
"ignore_case": False,
"rules": ["string"],
},
},
common_match_list={
"common_type": {
"ignore_case": False,
"rules": ["string"],
},
},
config_name="string",
config_type="string",
deny_ip_access_rule={
"rules": ["string"],
},
deny_referer_access_rule={
"allow_empty": False,
"common_type": {
"ignore_case": False,
"rules": ["string"],
},
},
project="string")
const shareConfigResource = new volcenginecc.cdn.ShareConfig("shareConfigResource", {
allowIpAccessRule: {
rules: ["string"],
},
allowRefererAccessRule: {
allowEmpty: false,
commonType: {
ignoreCase: false,
rules: ["string"],
},
},
commonMatchList: {
commonType: {
ignoreCase: false,
rules: ["string"],
},
},
configName: "string",
configType: "string",
denyIpAccessRule: {
rules: ["string"],
},
denyRefererAccessRule: {
allowEmpty: false,
commonType: {
ignoreCase: false,
rules: ["string"],
},
},
project: "string",
});
type: volcenginecc:cdn:ShareConfig
properties:
allowIpAccessRule:
rules:
- string
allowRefererAccessRule:
allowEmpty: false
commonType:
ignoreCase: false
rules:
- string
commonMatchList:
commonType:
ignoreCase: false
rules:
- string
configName: string
configType: string
denyIpAccessRule:
rules:
- string
denyRefererAccessRule:
allowEmpty: false
commonType:
ignoreCase: false
rules:
- string
project: string
ShareConfig 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 ShareConfig resource accepts the following input properties:
- Allow
Ip Volcengine.Access Rule Share Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- Allow
Referer Volcengine.Access Rule Share Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- Common
Match Volcengine.List Share Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- Config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- Config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- Deny
Ip Volcengine.Access Rule Share Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- Deny
Referer Volcengine.Access Rule Share Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- Project string
- Specifies the project name to which the global configuration belongs.
- Allow
Ip ShareAccess Rule Config Allow Ip Access Rule Args - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- Allow
Referer ShareAccess Rule Config Allow Referer Access Rule Args - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- Common
Match ShareList Config Common Match List Args - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- Config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- Config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- Deny
Ip ShareAccess Rule Config Deny Ip Access Rule Args - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- Deny
Referer ShareAccess Rule Config Deny Referer Access Rule Args - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- Project string
- Specifies the project name to which the global configuration belongs.
- allow
Ip ShareAccess Rule Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer ShareAccess Rule Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match ShareList Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name String - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type String - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip ShareAccess Rule Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer ShareAccess Rule Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- project String
- Specifies the project name to which the global configuration belongs.
- allow
Ip ShareAccess Rule Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer ShareAccess Rule Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match ShareList Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip ShareAccess Rule Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer ShareAccess Rule Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- project string
- Specifies the project name to which the global configuration belongs.
- allow_
ip_ Shareaccess_ rule Config Allow Ip Access Rule Args - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow_
referer_ Shareaccess_ rule Config Allow Referer Access Rule Args - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common_
match_ Sharelist Config Common Match List Args - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config_
name str - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config_
type str - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny_
ip_ Shareaccess_ rule Config Deny Ip Access Rule Args - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny_
referer_ Shareaccess_ rule Config Deny Referer Access Rule Args - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- project str
- Specifies the project name to which the global configuration belongs.
- allow
Ip Property MapAccess Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer Property MapAccess Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match Property MapList - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name String - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type String - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip Property MapAccess Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer Property MapAccess Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- project String
- Specifies the project name to which the global configuration belongs.
Outputs
All input properties are implicitly available as output properties. Additionally, the ShareConfig resource produces the following output properties:
- Domain
Count int - Indicates the number of accelerated domains associated with this global configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Content string - Specifies the HTML code for the custom error page.
- Updated
Time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- Domain
Count int - Indicates the number of accelerated domains associated with this global configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Content string - Specifies the HTML code for the custom error page.
- Updated
Time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- domain
Count Integer - Indicates the number of accelerated domains associated with this global configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Content String - Specifies the HTML code for the custom error page.
- updated
Time Integer - Indicates the last modification time of this global configuration, in Unix timestamp.
- domain
Count number - Indicates the number of accelerated domains associated with this global configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- rule
Content string - Specifies the HTML code for the custom error page.
- updated
Time number - Indicates the last modification time of this global configuration, in Unix timestamp.
- domain_
count int - Indicates the number of accelerated domains associated with this global configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- rule_
content str - Specifies the HTML code for the custom error page.
- updated_
time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- domain
Count Number - Indicates the number of accelerated domains associated with this global configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Content String - Specifies the HTML code for the custom error page.
- updated
Time Number - Indicates the last modification time of this global configuration, in Unix timestamp.
Look up Existing ShareConfig Resource
Get an existing ShareConfig 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?: ShareConfigState, opts?: CustomResourceOptions): ShareConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_ip_access_rule: Optional[ShareConfigAllowIpAccessRuleArgs] = None,
allow_referer_access_rule: Optional[ShareConfigAllowRefererAccessRuleArgs] = None,
common_match_list: Optional[ShareConfigCommonMatchListArgs] = None,
config_name: Optional[str] = None,
config_type: Optional[str] = None,
deny_ip_access_rule: Optional[ShareConfigDenyIpAccessRuleArgs] = None,
deny_referer_access_rule: Optional[ShareConfigDenyRefererAccessRuleArgs] = None,
domain_count: Optional[int] = None,
project: Optional[str] = None,
rule_content: Optional[str] = None,
updated_time: Optional[int] = None) -> ShareConfigfunc GetShareConfig(ctx *Context, name string, id IDInput, state *ShareConfigState, opts ...ResourceOption) (*ShareConfig, error)public static ShareConfig Get(string name, Input<string> id, ShareConfigState? state, CustomResourceOptions? opts = null)public static ShareConfig get(String name, Output<String> id, ShareConfigState state, CustomResourceOptions options)resources: _: type: volcenginecc:cdn:ShareConfig 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.
- Allow
Ip Volcengine.Access Rule Share Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- Allow
Referer Volcengine.Access Rule Share Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- Common
Match Volcengine.List Share Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- Config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- Config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- Deny
Ip Volcengine.Access Rule Share Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- Deny
Referer Volcengine.Access Rule Share Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- Domain
Count int - Indicates the number of accelerated domains associated with this global configuration.
- Project string
- Specifies the project name to which the global configuration belongs.
- Rule
Content string - Specifies the HTML code for the custom error page.
- Updated
Time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- Allow
Ip ShareAccess Rule Config Allow Ip Access Rule Args - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- Allow
Referer ShareAccess Rule Config Allow Referer Access Rule Args - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- Common
Match ShareList Config Common Match List Args - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- Config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- Config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- Deny
Ip ShareAccess Rule Config Deny Ip Access Rule Args - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- Deny
Referer ShareAccess Rule Config Deny Referer Access Rule Args - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- Domain
Count int - Indicates the number of accelerated domains associated with this global configuration.
- Project string
- Specifies the project name to which the global configuration belongs.
- Rule
Content string - Specifies the HTML code for the custom error page.
- Updated
Time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- allow
Ip ShareAccess Rule Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer ShareAccess Rule Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match ShareList Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name String - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type String - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip ShareAccess Rule Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer ShareAccess Rule Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- domain
Count Integer - Indicates the number of accelerated domains associated with this global configuration.
- project String
- Specifies the project name to which the global configuration belongs.
- rule
Content String - Specifies the HTML code for the custom error page.
- updated
Time Integer - Indicates the last modification time of this global configuration, in Unix timestamp.
- allow
Ip ShareAccess Rule Config Allow Ip Access Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer ShareAccess Rule Config Allow Referer Access Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match ShareList Config Common Match List - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name string - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type string - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip ShareAccess Rule Config Deny Ip Access Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer ShareAccess Rule Config Deny Referer Access Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- domain
Count number - Indicates the number of accelerated domains associated with this global configuration.
- project string
- Specifies the project name to which the global configuration belongs.
- rule
Content string - Specifies the HTML code for the custom error page.
- updated
Time number - Indicates the last modification time of this global configuration, in Unix timestamp.
- allow_
ip_ Shareaccess_ rule Config Allow Ip Access Rule Args - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow_
referer_ Shareaccess_ rule Config Allow Referer Access Rule Args - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common_
match_ Sharelist Config Common Match List Args - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config_
name str - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config_
type str - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny_
ip_ Shareaccess_ rule Config Deny Ip Access Rule Args - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny_
referer_ Shareaccess_ rule Config Deny Referer Access Rule Args - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- domain_
count int - Indicates the number of accelerated domains associated with this global configuration.
- project str
- Specifies the project name to which the global configuration belongs.
- rule_
content str - Specifies the HTML code for the custom error page.
- updated_
time int - Indicates the last modification time of this global configuration, in Unix timestamp.
- allow
Ip Property MapAccess Rule - Specifies the configuration for an IP allowlist, where ConfigType is allowipaccess*rule.
- allow
Referer Property MapAccess Rule - Indicates a configuration for a Referer allowlist. The corresponding ConfigType is allowrefereraccess*rule.
- common
Match Property MapList - Specifies the configuration for a common list, where ConfigType is commonmatchlist.
- config
Name String - Specifies the name of the global configuration. Naming requirements: Names can include Chinese characters, letters, numbers, and underscores (_), and must be 3–45 characters long. One Chinese character counts as 3 characters. The name cannot be the same as any existing global configuration name under the primary account.
- config
Type String - This parameter specifies the type of global configuration. Available values are: denyipaccessrule: indicates an IP denylist. allowipaccessrule: indicates an IP allowlist. denyrefereraccessrule: indicates a Referer denylist. allowrefereraccessrule: indicates a Referer allowlist. commonmatchlist: indicates a common list.
- deny
Ip Property MapAccess Rule - Specifies the configuration for an IP denylist, where ConfigType is denyipaccess*rule.
- deny
Referer Property MapAccess Rule - Indicates a configuration for a Referer denylist. The corresponding ConfigType is denyrefereraccess*rule.
- domain
Count Number - Indicates the number of accelerated domains associated with this global configuration.
- project String
- Specifies the project name to which the global configuration belongs.
- rule
Content String - Specifies the HTML code for the custom error page.
- updated
Time Number - Indicates the last modification time of this global configuration, in Unix timestamp.
Supporting Types
ShareConfigAllowIpAccessRule, ShareConfigAllowIpAccessRuleArgs
- Rules List<string>
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
- Rules []string
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
- rules List<String>
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
- rules string[]
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
- rules Sequence[str]
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
- rules List<String>
- Specifies a list of entries. Each entry in the list is an IP address or CIDR block. IP addresses and blocks can be in IPv4 or IPv6 format. List limits: For AddSharedConfig, the number of entries in the list cannot exceed 30,000.
ShareConfigAllowRefererAccessRule, ShareConfigAllowRefererAccessRuleArgs
- Allow
Empty bool - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- Common
Type Volcengine.Share Config Allow Referer Access Rule Common Type - Specifies the contents of the common list.
- Allow
Empty bool - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- Common
Type ShareConfig Allow Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty Boolean - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- common
Type ShareConfig Allow Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty boolean - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- common
Type ShareConfig Allow Referer Access Rule Common Type - Specifies the contents of the common list.
- allow_
empty bool - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- common_
type ShareConfig Allow Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty Boolean - Indicates whether requests with an empty Referer header or without a Referer header are not allowed. This parameter has the following values: true: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. false: Allowed. The default value is false.
- common
Type Property Map - Specifies the contents of the common list.
ShareConfigAllowRefererAccessRuleCommonType, ShareConfigAllowRefererAccessRuleCommonTypeArgs
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules List<string>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules []string
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules string[]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore_
case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules Sequence[str]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
ShareConfigCommonMatchList, ShareConfigCommonMatchListArgs
- Common
Type Volcengine.Share Config Common Match List Common Type - Specifies the contents of the common list.
- Common
Type ShareConfig Common Match List Common Type - Specifies the contents of the common list.
- common
Type ShareConfig Common Match List Common Type - Specifies the contents of the common list.
- common
Type ShareConfig Common Match List Common Type - Specifies the contents of the common list.
- common_
type ShareConfig Common Match List Common Type - Specifies the contents of the common list.
- common
Type Property Map - Specifies the contents of the common list.
ShareConfigCommonMatchListCommonType, ShareConfigCommonMatchListCommonTypeArgs
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules List<string>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules []string
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules string[]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore_
case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules Sequence[str]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
ShareConfigDenyIpAccessRule, ShareConfigDenyIpAccessRuleArgs
- Rules List<string>
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
- Rules []string
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
- rules List<String>
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
- rules string[]
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
- rules Sequence[str]
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
- rules List<String>
- Specifies the configuration for an IP denylist, where ConfigType is denyipaccess_rule.
ShareConfigDenyRefererAccessRule, ShareConfigDenyRefererAccessRuleArgs
- Allow
Empty bool - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- Common
Type Volcengine.Share Config Deny Referer Access Rule Common Type - Specifies the contents of the common list.
- Allow
Empty bool - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- Common
Type ShareConfig Deny Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty Boolean - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- common
Type ShareConfig Deny Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty boolean - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- common
Type ShareConfig Deny Referer Access Rule Common Type - Specifies the contents of the common list.
- allow_
empty bool - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- common_
type ShareConfig Deny Referer Access Rule Common Type - Specifies the contents of the common list.
- allow
Empty Boolean - Indicates whether requests with an empty Referer header or without a Referer header are allowed. This parameter has the following values: true: Allowed. false: Not allowed. If the Referer header is empty or missing, the content delivery network rejects the request. The default value is true.
- common
Type Property Map - Specifies the contents of the common list.
ShareConfigDenyRefererAccessRuleCommonType, ShareConfigDenyRefererAccessRuleCommonTypeArgs
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules List<string>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- Ignore
Case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- Rules []string
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules string[]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore_
case bool - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules Sequence[str]
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
- ignore
Case Boolean - Indicates whether entries in Rules are case-sensitive. This parameter has the following values: true: Not case-sensitive. false: Case-sensitive. The default value is true.
- rules List<String>
- Indicates an entry list, where each entry is a string. List quotas are as follows: The list can contain up to 4,000 entries. The total length of all entries cannot exceed 200,000 characters. When the CDN creates this global configuration, duplicate entries in the list are removed. Duplicate entries do not count toward the quota.
Import
$ pulumi import volcenginecc:cdn/shareConfig:ShareConfig example "config_name"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
