published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
After a Redis cache database instance is created, you can set an allowlist for the instance to permit devices to access it.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
redisAllowListDemo:
type: volcenginecc:redis:AllowList
name: RedisAllowListDemo
properties:
allowList: 127.0.0.1,0.0.0.0/0,192.168.0.0/24
allowListName: ccapi_test
allowListDesc: this is a test
allowListCategory: Ordinary
projectName: default
securityGroupBindInfos:
- bind_mode: AssociateEcsIp
security_group_id: sg-w06pxjgvtds0865yxxxxxx
- bind_mode: AssociateEcsIp
security_group_id: sg-rrco3fkzzy0wv0x5xxxxxx
- bind_mode: IngressDirectionIp
security_group_id: sg-w07syi789s74865yxxxxxx
instanceIds:
- redis-cnlfwpqoohxxxxxx
- redis-cnlfenhsypxxxxxx
Create AllowList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AllowList(name: string, args?: AllowListArgs, opts?: CustomResourceOptions);@overload
def AllowList(resource_name: str,
args: Optional[AllowListArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AllowList(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_list: Optional[str] = None,
allow_list_category: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_name: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
project_name: Optional[str] = None,
security_group_bind_infos: Optional[Sequence[AllowListSecurityGroupBindInfoArgs]] = None)func NewAllowList(ctx *Context, name string, args *AllowListArgs, opts ...ResourceOption) (*AllowList, error)public AllowList(string name, AllowListArgs? args = null, CustomResourceOptions? opts = null)
public AllowList(String name, AllowListArgs args)
public AllowList(String name, AllowListArgs args, CustomResourceOptions options)
type: volcenginecc:redis:AllowList
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 AllowListArgs
- 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 AllowListArgs
- 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 AllowListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AllowListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AllowListArgs
- 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 exampleallowListResourceResourceFromRedisallowList = new Volcenginecc.Redis.AllowList("exampleallowListResourceResourceFromRedisallowList", new()
{
AllowListValue = "string",
AllowListCategory = "string",
AllowListDesc = "string",
AllowListName = "string",
InstanceIds = new[]
{
"string",
},
ProjectName = "string",
SecurityGroupBindInfos = new[]
{
new Volcenginecc.Redis.Inputs.AllowListSecurityGroupBindInfoArgs
{
BindMode = "string",
SecurityGroupId = "string",
},
},
});
example, err := redis.NewAllowList(ctx, "exampleallowListResourceResourceFromRedisallowList", &redis.AllowListArgs{
AllowList: pulumi.String("string"),
AllowListCategory: pulumi.String("string"),
AllowListDesc: pulumi.String("string"),
AllowListName: pulumi.String("string"),
InstanceIds: pulumi.StringArray{
pulumi.String("string"),
},
ProjectName: pulumi.String("string"),
SecurityGroupBindInfos: redis.AllowListSecurityGroupBindInfoArray{
&redis.AllowListSecurityGroupBindInfoArgs{
BindMode: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
},
},
})
var exampleallowListResourceResourceFromRedisallowList = new com.volcengine.volcenginecc.redis.AllowList("exampleallowListResourceResourceFromRedisallowList", com.volcengine.volcenginecc.redis.AllowListArgs.builder()
.allowList("string")
.allowListCategory("string")
.allowListDesc("string")
.allowListName("string")
.instanceIds("string")
.projectName("string")
.securityGroupBindInfos(AllowListSecurityGroupBindInfoArgs.builder()
.bindMode("string")
.securityGroupId("string")
.build())
.build());
exampleallow_list_resource_resource_from_redisallow_list = volcenginecc.redis.AllowList("exampleallowListResourceResourceFromRedisallowList",
allow_list="string",
allow_list_category="string",
allow_list_desc="string",
allow_list_name="string",
instance_ids=["string"],
project_name="string",
security_group_bind_infos=[{
"bind_mode": "string",
"security_group_id": "string",
}])
const exampleallowListResourceResourceFromRedisallowList = new volcenginecc.redis.AllowList("exampleallowListResourceResourceFromRedisallowList", {
allowList: "string",
allowListCategory: "string",
allowListDesc: "string",
allowListName: "string",
instanceIds: ["string"],
projectName: "string",
securityGroupBindInfos: [{
bindMode: "string",
securityGroupId: "string",
}],
});
type: volcenginecc:redis:AllowList
properties:
allowList: string
allowListCategory: string
allowListDesc: string
allowListName: string
instanceIds:
- string
projectName: string
securityGroupBindInfos:
- bindMode: string
securityGroupId: string
AllowList 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 AllowList resource accepts the following input properties:
- Allow
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- Allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- Allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- Allow
List stringValue - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- Instance
Ids List<string> - List of instance IDs bound to the current allowlist
- Project
Name string - Project name associated with the allowlist
- Security
Group List<Volcengine.Bind Infos Allow List Security Group Bind Info>
- Allow
List string - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- Allow
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- Allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- Allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- Instance
Ids []string - List of instance IDs bound to the current allowlist
- Project
Name string - Project name associated with the allowlist
- Security
Group []AllowBind Infos List Security Group Bind Info Args
- allow
List String - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List StringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List StringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List StringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- instance
Ids List<String> - List of instance IDs bound to the current allowlist
- project
Name String - Project name associated with the allowlist
- security
Group List<AllowBind Infos List Security Group Bind Info>
- allow
List string - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- instance
Ids string[] - List of instance IDs bound to the current allowlist
- project
Name string - Project name associated with the allowlist
- security
Group AllowBind Infos List Security Group Bind Info[]
- allow_
list str - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow_
list_ strcategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow_
list_ strdesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow_
list_ strname - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- instance_
ids Sequence[str] - List of instance IDs bound to the current allowlist
- project_
name str - Project name associated with the allowlist
- security_
group_ Sequence[Allowbind_ infos List Security Group Bind Info Args]
- allow
List String - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List StringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List StringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List StringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- instance
Ids List<String> - List of instance IDs bound to the current allowlist
- project
Name String - Project name associated with the allowlist
- security
Group List<Property Map>Bind Infos
Outputs
All input properties are implicitly available as output properties. Additionally, the AllowList resource produces the following output properties:
- Allow
List stringId - Allowlist ID.
- Allow
List intIp Num - Number of IP addresses in the allowlist
- Associated
Instance intNum - Total number of instances bound to the allowlist
- Associated
Instances List<Volcengine.Allow List Associated Instance> - Id string
- The provider-assigned unique ID for this managed resource.
- Allow
List stringId - Allowlist ID.
- Allow
List intIp Num - Number of IP addresses in the allowlist
- Associated
Instance intNum - Total number of instances bound to the allowlist
- Associated
Instances []AllowList Associated Instance - Id string
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - Allowlist ID.
- allow
List IntegerIp Num - Number of IP addresses in the allowlist
- associated
Instance IntegerNum - Total number of instances bound to the allowlist
- associated
Instances List<AllowList Associated Instance> - id String
- The provider-assigned unique ID for this managed resource.
- allow
List stringId - Allowlist ID.
- allow
List numberIp Num - Number of IP addresses in the allowlist
- associated
Instance numberNum - Total number of instances bound to the allowlist
- associated
Instances AllowList Associated Instance[] - id string
- The provider-assigned unique ID for this managed resource.
- allow_
list_ strid - Allowlist ID.
- allow_
list_ intip_ num - Number of IP addresses in the allowlist
- associated_
instance_ intnum - Total number of instances bound to the allowlist
- associated_
instances Sequence[AllowList Associated Instance] - id str
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - Allowlist ID.
- allow
List NumberIp Num - Number of IP addresses in the allowlist
- associated
Instance NumberNum - Total number of instances bound to the allowlist
- associated
Instances List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AllowList Resource
Get an existing AllowList 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?: AllowListState, opts?: CustomResourceOptions): AllowList@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_list: Optional[str] = None,
allow_list_category: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_id: Optional[str] = None,
allow_list_ip_num: Optional[int] = None,
allow_list_name: Optional[str] = None,
associated_instance_num: Optional[int] = None,
associated_instances: Optional[Sequence[AllowListAssociatedInstanceArgs]] = None,
instance_ids: Optional[Sequence[str]] = None,
project_name: Optional[str] = None,
security_group_bind_infos: Optional[Sequence[AllowListSecurityGroupBindInfoArgs]] = None) -> AllowListfunc GetAllowList(ctx *Context, name string, id IDInput, state *AllowListState, opts ...ResourceOption) (*AllowList, error)public static AllowList Get(string name, Input<string> id, AllowListState? state, CustomResourceOptions? opts = null)public static AllowList get(String name, Output<String> id, AllowListState state, CustomResourceOptions options)resources: _: type: volcenginecc:redis:AllowList 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
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- Allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- Allow
List stringId - Allowlist ID.
- Allow
List intIp Num - Number of IP addresses in the allowlist
- Allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- Allow
List stringValue - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- Associated
Instance intNum - Total number of instances bound to the allowlist
- Associated
Instances List<Volcengine.Allow List Associated Instance> - Instance
Ids List<string> - List of instance IDs bound to the current allowlist
- Project
Name string - Project name associated with the allowlist
- Security
Group List<Volcengine.Bind Infos Allow List Security Group Bind Info>
- Allow
List string - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- Allow
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- Allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- Allow
List stringId - Allowlist ID.
- Allow
List intIp Num - Number of IP addresses in the allowlist
- Allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- Associated
Instance intNum - Total number of instances bound to the allowlist
- Associated
Instances []AllowList Associated Instance Args - Instance
Ids []string - List of instance IDs bound to the current allowlist
- Project
Name string - Project name associated with the allowlist
- Security
Group []AllowBind Infos List Security Group Bind Info Args
- allow
List String - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List StringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List StringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List StringId - Allowlist ID.
- allow
List IntegerIp Num - Number of IP addresses in the allowlist
- allow
List StringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- associated
Instance IntegerNum - Total number of instances bound to the allowlist
- associated
Instances List<AllowList Associated Instance> - instance
Ids List<String> - List of instance IDs bound to the current allowlist
- project
Name String - Project name associated with the allowlist
- security
Group List<AllowBind Infos List Security Group Bind Info>
- allow
List string - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List stringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List stringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List stringId - Allowlist ID.
- allow
List numberIp Num - Number of IP addresses in the allowlist
- allow
List stringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- associated
Instance numberNum - Total number of instances bound to the allowlist
- associated
Instances AllowList Associated Instance[] - instance
Ids string[] - List of instance IDs bound to the current allowlist
- project
Name string - Project name associated with the allowlist
- security
Group AllowBind Infos List Security Group Bind Info[]
- allow_
list str - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow_
list_ strcategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow_
list_ strdesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow_
list_ strid - Allowlist ID.
- allow_
list_ intip_ num - Number of IP addresses in the allowlist
- allow_
list_ strname - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- associated_
instance_ intnum - Total number of instances bound to the allowlist
- associated_
instances Sequence[AllowList Associated Instance Args] - instance_
ids Sequence[str] - List of instance IDs bound to the current allowlist
- project_
name str - Project name associated with the allowlist
- security_
group_ Sequence[Allowbind_ infos List Security Group Bind Info Args]
- allow
List String - Enter an IP address or an address range in CIDR format. Note: The AllowList and SecurityGroupBindInfos parameters cannot both be empty. Duplicate addresses are not allowed. Separate multiple addresses with commas (,). Setting 0.0.0.0/0 allows access from all addresses. Setting 127.0.0.1 denies access from all addresses. Setting both 0.0.0.0/0 and 127.0.0.1 allows access from all addresses. Setting CIDR 192.168.1.0/24 allows access from IP addresses within that subnet. Setting 192.168.1.1 allows access only from that IP address.
- allow
List StringCategory - Type of allowlist. The value range is as follows: Ordinary (default): ordinary allowlist. Default: default allowlist. Note: Each account can set at most one default allowlist per region. When a new default allowlist is set, it automatically replaces the original default allowlist, and the original default allowlist becomes a non-default allowlist. For more details, see Constraints and Limitations
- allow
List StringDesc - Allowlist remarks. The length cannot exceed 200 characters. Note: If this parameter is not set, the remarks for the new allowlist will be empty by default
- allow
List StringId - Allowlist ID.
- allow
List NumberIp Num - Number of IP addresses in the allowlist
- allow
List StringName - Allowlist name. The name must meet the following requirements: Cannot start with a digit or hyphen (-). Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be 1–128 characters
- associated
Instance NumberNum - Total number of instances bound to the allowlist
- associated
Instances List<Property Map> - instance
Ids List<String> - List of instance IDs bound to the current allowlist
- project
Name String - Project name associated with the allowlist
- security
Group List<Property Map>Bind Infos
Supporting Types
AllowListAssociatedInstance, AllowListAssociatedInstanceArgs
- Instance
Id string - Instance ID bound to the current allowlist
- Instance
Name string - Instance names bound to the current allowlist
- Project
Name string - Project name associated with the instance
- Vpc string
- Private network ID associated with the instance
- Instance
Id string - Instance ID bound to the current allowlist
- Instance
Name string - Instance names bound to the current allowlist
- Project
Name string - Project name associated with the instance
- Vpc string
- Private network ID associated with the instance
- instance
Id String - Instance ID bound to the current allowlist
- instance
Name String - Instance names bound to the current allowlist
- project
Name String - Project name associated with the instance
- vpc String
- Private network ID associated with the instance
- instance
Id string - Instance ID bound to the current allowlist
- instance
Name string - Instance names bound to the current allowlist
- project
Name string - Project name associated with the instance
- vpc string
- Private network ID associated with the instance
- instance_
id str - Instance ID bound to the current allowlist
- instance_
name str - Instance names bound to the current allowlist
- project_
name str - Project name associated with the instance
- vpc str
- Private network ID associated with the instance
- instance
Id String - Instance ID bound to the current allowlist
- instance
Name String - Instance names bound to the current allowlist
- project
Name String - Project name associated with the instance
- vpc String
- Private network ID associated with the instance
AllowListSecurityGroupBindInfo, AllowListSecurityGroupBindInfoArgs
- Bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- Security
Group stringId - Associated security group ID
- Bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- Security
Group stringId - Associated security group ID
- bind
Mode String - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- security
Group StringId - Associated security group ID
- bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- security
Group stringId - Associated security group ID
- bind_
mode str - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- security_
group_ strid - Associated security group ID
- bind
Mode String - Security group association mode. The value range is as follows: IngressDirectionIp: ingress IP, which allows IPs involved in TCP and ALL protocols in the source address of the security group ingress direction to access the database. If the source address is configured as a security group, it will be ignored. AssociateEcsIp: associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only importing IP information of the primary network interface is supported
- security
Group StringId - Associated security group ID
Import
$ pulumi import volcenginecc:redis/allowList:AllowList example "allow_list_id"
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
