1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. redis
  6. AllowList
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 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

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const redisAllowListDemo = new volcenginecc.redis.AllowList("RedisAllowListDemo", {
        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",
        ],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    redis_allow_list_demo = volcenginecc.redis.AllowList("RedisAllowListDemo",
        allow_list="127.0.0.1,0.0.0.0/0,192.168.0.0/24",
        allow_list_name="ccapi_test",
        allow_list_desc="this is a test",
        allow_list_category="Ordinary",
        project_name="default",
        security_group_bind_infos=[
            {
                "bind_mode": "AssociateEcsIp",
                "security_group_id": "sg-w06pxjgvtds0865yxxxxxx",
            },
            {
                "bind_mode": "AssociateEcsIp",
                "security_group_id": "sg-rrco3fkzzy0wv0x5xxxxxx",
            },
            {
                "bind_mode": "IngressDirectionIp",
                "security_group_id": "sg-w07syi789s74865yxxxxxx",
            },
        ],
        instance_ids=[
            "redis-cnlfwpqoohxxxxxx",
            "redis-cnlfenhsypxxxxxx",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/redis"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := redis.NewAllowList(ctx, "RedisAllowListDemo", &redis.AllowListArgs{
    			AllowList:         pulumi.String("127.0.0.1,0.0.0.0/0,192.168.0.0/24"),
    			AllowListName:     pulumi.String("ccapi_test"),
    			AllowListDesc:     pulumi.String("this is a test"),
    			AllowListCategory: pulumi.String("Ordinary"),
    			ProjectName:       pulumi.String("default"),
    			SecurityGroupBindInfos: redis.AllowListSecurityGroupBindInfoArray{
    				&redis.AllowListSecurityGroupBindInfoArgs{
    					Bind_mode:         "AssociateEcsIp",
    					Security_group_id: "sg-w06pxjgvtds0865yxxxxxx",
    				},
    				&redis.AllowListSecurityGroupBindInfoArgs{
    					Bind_mode:         "AssociateEcsIp",
    					Security_group_id: "sg-rrco3fkzzy0wv0x5xxxxxx",
    				},
    				&redis.AllowListSecurityGroupBindInfoArgs{
    					Bind_mode:         "IngressDirectionIp",
    					Security_group_id: "sg-w07syi789s74865yxxxxxx",
    				},
    			},
    			InstanceIds: pulumi.StringArray{
    				pulumi.String("redis-cnlfwpqoohxxxxxx"),
    				pulumi.String("redis-cnlfenhsypxxxxxx"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var redisAllowListDemo = new Volcenginecc.Redis.AllowList("RedisAllowListDemo", new()
        {
            AllowListValue = "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 = new[]
            {
                new Volcenginecc.Redis.Inputs.AllowListSecurityGroupBindInfoArgs
                {
                    Bind_mode = "AssociateEcsIp",
                    Security_group_id = "sg-w06pxjgvtds0865yxxxxxx",
                },
                new Volcenginecc.Redis.Inputs.AllowListSecurityGroupBindInfoArgs
                {
                    Bind_mode = "AssociateEcsIp",
                    Security_group_id = "sg-rrco3fkzzy0wv0x5xxxxxx",
                },
                new Volcenginecc.Redis.Inputs.AllowListSecurityGroupBindInfoArgs
                {
                    Bind_mode = "IngressDirectionIp",
                    Security_group_id = "sg-w07syi789s74865yxxxxxx",
                },
            },
            InstanceIds = new[]
            {
                "redis-cnlfwpqoohxxxxxx",
                "redis-cnlfenhsypxxxxxx",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.redis.AllowList;
    import com.volcengine.volcenginecc.redis.AllowListArgs;
    import com.pulumi.volcenginecc.redis.inputs.AllowListSecurityGroupBindInfoArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var redisAllowListDemo = new AllowList("redisAllowListDemo", AllowListArgs.builder()
                .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(            
                    AllowListSecurityGroupBindInfoArgs.builder()
                        .bind_mode("AssociateEcsIp")
                        .security_group_id("sg-w06pxjgvtds0865yxxxxxx")
                        .build(),
                    AllowListSecurityGroupBindInfoArgs.builder()
                        .bind_mode("AssociateEcsIp")
                        .security_group_id("sg-rrco3fkzzy0wv0x5xxxxxx")
                        .build(),
                    AllowListSecurityGroupBindInfoArgs.builder()
                        .bind_mode("IngressDirectionIp")
                        .security_group_id("sg-w07syi789s74865yxxxxxx")
                        .build())
                .instanceIds(            
                    "redis-cnlfwpqoohxxxxxx",
                    "redis-cnlfenhsypxxxxxx")
                .build());
    
        }
    }
    
    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
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_redis_allowlist" "RedisAllowListDemo" {
      allow_list          = "127.0.0.1,0.0.0.0/0,192.168.0.0/24"
      allow_list_name     = "ccapi_test"
      allow_list_desc     = "this is a test"
      allow_list_category = "Ordinary"
      project_name        = "default"
      security_group_bind_infos {
        bind_mode         = "AssociateEcsIp"
        security_group_id = "sg-w06pxjgvtds0865yxxxxxx"
      }
      security_group_bind_infos {
        bind_mode         = "AssociateEcsIp"
        security_group_id = "sg-rrco3fkzzy0wv0x5xxxxxx"
      }
      security_group_bind_infos {
        bind_mode         = "IngressDirectionIp"
        security_group_id = "sg-w07syi789s74865yxxxxxx"
      }
      instance_ids = ["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: AllowListArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AllowList(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  allow_list_name: Optional[str] = None,
                  allow_list: Optional[str] = None,
                  allow_list_category: Optional[str] = None,
                  allow_list_desc: 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, 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.
    
    
    resource "volcenginecc_redis_allow_list" "name" {
        # resource properties
    }

    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()
    {
        AllowListName = "string",
        AllowListValue = "string",
        AllowListCategory = "string",
        AllowListDesc = "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{
    	AllowListName:     pulumi.String("string"),
    	AllowList:         pulumi.String("string"),
    	AllowListCategory: pulumi.String("string"),
    	AllowListDesc:     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"),
    		},
    	},
    })
    
    resource "volcenginecc_redis_allow_list" "exampleallowListResourceResourceFromRedisallowList" {
      lifecycle {
        create_before_destroy = true
      }
      allow_list_name     = "string"
      allow_list          = "string"
      allow_list_category = "string"
      allow_list_desc     = "string"
      instance_ids        = ["string"]
      project_name        = "string"
      security_group_bind_infos {
        bind_mode         = "string"
        security_group_id = "string"
      }
    }
    
    var exampleallowListResourceResourceFromRedisallowList = new com.volcengine.volcenginecc.redis.AllowList("exampleallowListResourceResourceFromRedisallowList", com.volcengine.volcenginecc.redis.AllowListArgs.builder()
        .allowListName("string")
        .allowList("string")
        .allowListCategory("string")
        .allowListDesc("string")
        .instanceIds("string")
        .projectName("string")
        .securityGroupBindInfos(com.pulumi.volcenginecc.redis.inputs.AllowListSecurityGroupBindInfoArgs.builder()
            .bindMode("string")
            .securityGroupId("string")
            .build())
        .build());
    
    exampleallow_list_resource_resource_from_redisallow_list = volcenginecc.redis.AllowList("exampleallowListResourceResourceFromRedisallowList",
        allow_list_name="string",
        allow_list="string",
        allow_list_category="string",
        allow_list_desc="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", {
        allowListName: "string",
        allowList: "string",
        allowListCategory: "string",
        allowListDesc: "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:

    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
    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
    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>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    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
    InstanceIds []string
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos []AllowListSecurityGroupBindInfoArgs
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    allow_list_name 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
    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_category 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
    allow_list_desc 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
    instance_ids list(string)
    List of instance IDs bound to the current allowlist
    project_name string
    Project name associated with the allowlist
    security_group_bind_infos list(object)
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    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
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<AllowListSecurityGroupBindInfo>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    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
    instanceIds string[]
    List of instance IDs bound to the current allowlist
    projectName string
    Project name associated with the allowlist
    securityGroupBindInfos AllowListSecurityGroupBindInfo[]
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    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
    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]
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    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
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<Property Map>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Id string
    The provider-assigned unique ID for this managed resource.
    allow_list_id string
    Allowlist ID.
    allow_list_ip_num number
    Number of IP addresses in the allowlist
    associated_instance_num number
    Total number of instances bound to the allowlist
    associated_instances list(object)
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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[]
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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]
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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}
    import {
      to = volcenginecc_redis_allow_list.example
      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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    InstanceIds List<string>
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos List<Volcengine.AllowListSecurityGroupBindInfo>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    InstanceIds []string
    List of instance IDs bound to the current allowlist
    ProjectName string
    Project name associated with the allowlist
    SecurityGroupBindInfos []AllowListSecurityGroupBindInfoArgs
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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_category 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
    allow_list_desc 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
    allow_list_id string
    Allowlist ID.
    allow_list_ip_num number
    Number of IP addresses in the allowlist
    allow_list_name 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
    associated_instance_num number
    Total number of instances bound to the allowlist
    associated_instances list(object)
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    instance_ids list(string)
    List of instance IDs bound to the current allowlist
    project_name string
    Project name associated with the allowlist
    security_group_bind_infos list(object)
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<AllowListSecurityGroupBindInfo>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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[]
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    instanceIds string[]
    List of instance IDs bound to the current allowlist
    projectName string
    Project name associated with the allowlist
    securityGroupBindInfos AllowListSecurityGroupBindInfo[]
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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]
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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]
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    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>
    List of instances currently bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    instanceIds List<String>
    List of instance IDs bound to the current allowlist
    projectName String
    Project name associated with the allowlist
    securityGroupBindInfos List<Property Map>
    Information about the security groups associated with the allowlist. Note: This parameter is returned only if the allowlist contains associated security groups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    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
    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
    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
    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_id 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.50
    published on Monday, Jul 20, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial