1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. redis
  6. AllowList
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
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:

    AllowListCategory string
    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
    AllowListDesc string
    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
    AllowListName string
    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
    AllowListValue 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.
    InstanceIds List<string>
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos List<Volcengine.AllowListSecurityGroupBindInfo>
    AllowList 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.
    AllowListCategory string
    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
    AllowListDesc string
    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
    AllowListName string
    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
    InstanceIds []string
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos []AllowListSecurityGroupBindInfoArgs
    allowList 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.
    allowListCategory String
    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
    allowListDesc String
    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
    allowListName String
    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
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<AllowListSecurityGroupBindInfo>
    allowList 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.
    allowListCategory string
    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
    allowListDesc string
    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
    allowListName string
    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
    instanceIds string[]
    List of instance IDs bound to the current allowlist
    projectName string
    Project name associated with the allowlist
    securityGroupBindInfos AllowListSecurityGroupBindInfo[]
    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_category str
    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_desc str
    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_name str
    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_bind_infos Sequence[AllowListSecurityGroupBindInfoArgs]
    allowList 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.
    allowListCategory String
    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
    allowListDesc String
    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
    allowListName String
    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
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AllowList resource produces the following output properties:

    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Number of IP addresses in the allowlist
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist
    AssociatedInstances List<Volcengine.AllowListAssociatedInstance>
    Id string
    The provider-assigned unique ID for this managed resource.
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Number of IP addresses in the allowlist
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist
    AssociatedInstances []AllowListAssociatedInstance
    Id string
    The provider-assigned unique ID for this managed resource.
    allowListId String
    Allowlist ID.
    allowListIpNum Integer
    Number of IP addresses in the allowlist
    associatedInstanceNum Integer
    Total number of instances bound to the allowlist
    associatedInstances List<AllowListAssociatedInstance>
    id String
    The provider-assigned unique ID for this managed resource.
    allowListId string
    Allowlist ID.
    allowListIpNum number
    Number of IP addresses in the allowlist
    associatedInstanceNum number
    Total number of instances bound to the allowlist
    associatedInstances AllowListAssociatedInstance[]
    id string
    The provider-assigned unique ID for this managed resource.
    allow_list_id str
    Allowlist ID.
    allow_list_ip_num int
    Number of IP addresses in the allowlist
    associated_instance_num int
    Total number of instances bound to the allowlist
    associated_instances Sequence[AllowListAssociatedInstance]
    id str
    The provider-assigned unique ID for this managed resource.
    allowListId String
    Allowlist ID.
    allowListIpNum Number
    Number of IP addresses in the allowlist
    associatedInstanceNum Number
    Total number of instances bound to the allowlist
    associatedInstances 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) -> AllowList
    func 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.
    The following state arguments are supported:
    AllowListCategory string
    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
    AllowListDesc string
    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
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Number of IP addresses in the allowlist
    AllowListName string
    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
    AllowListValue 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.
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist
    AssociatedInstances List<Volcengine.AllowListAssociatedInstance>
    InstanceIds List<string>
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos List<Volcengine.AllowListSecurityGroupBindInfo>
    AllowList 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.
    AllowListCategory string
    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
    AllowListDesc string
    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
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Number of IP addresses in the allowlist
    AllowListName string
    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
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist
    AssociatedInstances []AllowListAssociatedInstanceArgs
    InstanceIds []string
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos []AllowListSecurityGroupBindInfoArgs
    allowList 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.
    allowListCategory String
    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
    allowListDesc String
    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
    allowListId String
    Allowlist ID.
    allowListIpNum Integer
    Number of IP addresses in the allowlist
    allowListName String
    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
    associatedInstanceNum Integer
    Total number of instances bound to the allowlist
    associatedInstances List<AllowListAssociatedInstance>
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<AllowListSecurityGroupBindInfo>
    allowList 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.
    allowListCategory string
    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
    allowListDesc string
    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
    allowListId string
    Allowlist ID.
    allowListIpNum number
    Number of IP addresses in the allowlist
    allowListName string
    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
    associatedInstanceNum number
    Total number of instances bound to the allowlist
    associatedInstances AllowListAssociatedInstance[]
    instanceIds string[]
    List of instance IDs bound to the current allowlist
    projectName string
    Project name associated with the allowlist
    securityGroupBindInfos AllowListSecurityGroupBindInfo[]
    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_category str
    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_desc str
    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_id str
    Allowlist ID.
    allow_list_ip_num int
    Number of IP addresses in the allowlist
    allow_list_name str
    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_num int
    Total number of instances bound to the allowlist
    associated_instances Sequence[AllowListAssociatedInstanceArgs]
    instance_ids Sequence[str]
    List of instance IDs bound to the current allowlist
    project_name str
    Project name associated with the allowlist
    security_group_bind_infos Sequence[AllowListSecurityGroupBindInfoArgs]
    allowList 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.
    allowListCategory String
    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
    allowListDesc String
    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
    allowListId String
    Allowlist ID.
    allowListIpNum Number
    Number of IP addresses in the allowlist
    allowListName String
    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
    associatedInstanceNum Number
    Total number of instances bound to the allowlist
    associatedInstances List<Property Map>
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<Property Map>

    Supporting Types

    AllowListAssociatedInstance, AllowListAssociatedInstanceArgs

    InstanceId string
    Instance ID bound to the current allowlist
    InstanceName string
    Instance names bound to the current allowlist
    ProjectName string
    Project name associated with the instance
    Vpc string
    Private network ID associated with the instance
    InstanceId string
    Instance ID bound to the current allowlist
    InstanceName string
    Instance names bound to the current allowlist
    ProjectName string
    Project name associated with the instance
    Vpc string
    Private network ID associated with the instance
    instanceId String
    Instance ID bound to the current allowlist
    instanceName String
    Instance names bound to the current allowlist
    projectName String
    Project name associated with the instance
    vpc String
    Private network ID associated with the instance
    instanceId string
    Instance ID bound to the current allowlist
    instanceName string
    Instance names bound to the current allowlist
    projectName 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
    instanceId String
    Instance ID bound to the current allowlist
    instanceName String
    Instance names bound to the current allowlist
    projectName String
    Project name associated with the instance
    vpc String
    Private network ID associated with the instance

    AllowListSecurityGroupBindInfo, AllowListSecurityGroupBindInfoArgs

    BindMode 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
    SecurityGroupId string
    Associated security group ID
    BindMode 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
    SecurityGroupId string
    Associated security group ID
    bindMode 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
    securityGroupId String
    Associated security group ID
    bindMode 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
    securityGroupId string
    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_id str
    Associated security group ID
    bindMode 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
    securityGroupId String
    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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.