1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vpc
  6. PrefixList
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

    A prefix list is a collection of CIDR blocks used to simplify the configuration of security group rules and route table entries. When the prefix list is modified, all associated resources are updated synchronously.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const prefixlistDemo = new volcenginecc.vpc.PrefixList("PrefixlistDemo", {
        description: "PrefixlistDemo Example",
        ipVersion: "IPv4",
        maxEntries: 20,
        prefixListName: "my-prefix-list",
        projectName: "default",
        prefixListEntries: [{
            cidr: "192.168.0.0/*",
            description: "privite description",
        }],
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    prefixlist_demo = volcenginecc.vpc.PrefixList("PrefixlistDemo",
        description="PrefixlistDemo Example",
        ip_version="IPv4",
        max_entries=20,
        prefix_list_name="my-prefix-list",
        project_name="default",
        prefix_list_entries=[{
            "cidr": "192.168.0.0/*",
            "description": "privite description",
        }],
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpc.NewPrefixList(ctx, "PrefixlistDemo", &vpc.PrefixListArgs{
    			Description:    pulumi.String("PrefixlistDemo Example"),
    			IpVersion:      pulumi.String("IPv4"),
    			MaxEntries:     pulumi.Int(20),
    			PrefixListName: pulumi.String("my-prefix-list"),
    			ProjectName:    pulumi.String("default"),
    			PrefixListEntries: vpc.PrefixListPrefixListEntryArray{
    				&vpc.PrefixListPrefixListEntryArgs{
    					Cidr:        pulumi.String("192.168.0.0/*"),
    					Description: pulumi.String("privite description"),
    				},
    			},
    			Tags: vpc.PrefixListTagArray{
    				&vpc.PrefixListTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		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 prefixlistDemo = new Volcenginecc.Vpc.PrefixList("PrefixlistDemo", new()
        {
            Description = "PrefixlistDemo Example",
            IpVersion = "IPv4",
            MaxEntries = 20,
            PrefixListName = "my-prefix-list",
            ProjectName = "default",
            PrefixListEntries = new[]
            {
                new Volcenginecc.Vpc.Inputs.PrefixListPrefixListEntryArgs
                {
                    Cidr = "192.168.0.0/*",
                    Description = "privite description",
                },
            },
            Tags = new[]
            {
                new Volcenginecc.Vpc.Inputs.PrefixListTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.vpc.PrefixList;
    import com.volcengine.volcenginecc.vpc.PrefixListArgs;
    import com.pulumi.volcenginecc.vpc.inputs.PrefixListPrefixListEntryArgs;
    import com.pulumi.volcenginecc.vpc.inputs.PrefixListTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 prefixlistDemo = new PrefixList("prefixlistDemo", PrefixListArgs.builder()
                .description("PrefixlistDemo Example")
                .ipVersion("IPv4")
                .maxEntries(20)
                .prefixListName("my-prefix-list")
                .projectName("default")
                .prefixListEntries(PrefixListPrefixListEntryArgs.builder()
                    .cidr("192.168.0.0/*")
                    .description("privite description")
                    .build())
                .tags(PrefixListTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      prefixlistDemo:
        type: volcenginecc:vpc:PrefixList
        name: PrefixlistDemo
        properties:
          description: PrefixlistDemo Example
          ipVersion: IPv4
          maxEntries: 20
          prefixListName: my-prefix-list
          projectName: default
          prefixListEntries:
            - cidr: 192.168.0.0/*
              description: privite description
          tags:
            - key: env
              value: test
    

    Create PrefixList Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrefixList(name: string, args: PrefixListArgs, opts?: CustomResourceOptions);
    @overload
    def PrefixList(resource_name: str,
                   args: PrefixListArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrefixList(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   max_entries: Optional[int] = None,
                   description: Optional[str] = None,
                   ip_version: Optional[str] = None,
                   prefix_list_entries: Optional[Sequence[PrefixListPrefixListEntryArgs]] = None,
                   prefix_list_name: Optional[str] = None,
                   project_name: Optional[str] = None,
                   tags: Optional[Sequence[PrefixListTagArgs]] = None)
    func NewPrefixList(ctx *Context, name string, args PrefixListArgs, opts ...ResourceOption) (*PrefixList, error)
    public PrefixList(string name, PrefixListArgs args, CustomResourceOptions? opts = null)
    public PrefixList(String name, PrefixListArgs args)
    public PrefixList(String name, PrefixListArgs args, CustomResourceOptions options)
    
    type: volcenginecc:vpc:PrefixList
    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 PrefixListArgs
    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 PrefixListArgs
    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 PrefixListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrefixListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrefixListArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PrefixList 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 PrefixList resource accepts the following input properties:

    MaxEntries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    Description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    IpVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    PrefixListEntries List<Volcengine.PrefixListPrefixListEntry>
    PrefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    ProjectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    Tags List<Volcengine.PrefixListTag>
    MaxEntries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    Description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    IpVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    PrefixListEntries []PrefixListPrefixListEntryArgs
    PrefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    ProjectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    Tags []PrefixListTagArgs
    maxEntries Integer
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    description String
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion String
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    prefixListEntries List<PrefixListPrefixListEntry>
    prefixListName String
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName String
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    tags List<PrefixListTag>
    maxEntries number
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    prefixListEntries PrefixListPrefixListEntry[]
    prefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    tags PrefixListTag[]
    max_entries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    description str
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ip_version str
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    prefix_list_entries Sequence[PrefixListPrefixListEntryArgs]
    prefix_list_name str
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    project_name str
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    tags Sequence[PrefixListTagArgs]
    maxEntries Number
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    description String
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion String
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    prefixListEntries List<Property Map>
    prefixListName String
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName String
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    tags List<Property Map>

    Outputs

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

    AssociationCount int
    Number of resources associated with the prefix list.
    AssociationsRouteTables List<Volcengine.PrefixListAssociationsRouteTable>
    AssociationsSecurityGroups List<Volcengine.PrefixListAssociationsSecurityGroup>
    CreatedTime string
    Creation time of the prefix list.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrefixListId string
    Prefix list ID.
    Status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    UpdatedTime string
    Last modification time of the prefix list.
    AssociationCount int
    Number of resources associated with the prefix list.
    AssociationsRouteTables []PrefixListAssociationsRouteTable
    AssociationsSecurityGroups []PrefixListAssociationsSecurityGroup
    CreatedTime string
    Creation time of the prefix list.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrefixListId string
    Prefix list ID.
    Status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    UpdatedTime string
    Last modification time of the prefix list.
    associationCount Integer
    Number of resources associated with the prefix list.
    associationsRouteTables List<PrefixListAssociationsRouteTable>
    associationsSecurityGroups List<PrefixListAssociationsSecurityGroup>
    createdTime String
    Creation time of the prefix list.
    id String
    The provider-assigned unique ID for this managed resource.
    prefixListId String
    Prefix list ID.
    status String
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    updatedTime String
    Last modification time of the prefix list.
    associationCount number
    Number of resources associated with the prefix list.
    associationsRouteTables PrefixListAssociationsRouteTable[]
    associationsSecurityGroups PrefixListAssociationsSecurityGroup[]
    createdTime string
    Creation time of the prefix list.
    id string
    The provider-assigned unique ID for this managed resource.
    prefixListId string
    Prefix list ID.
    status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    updatedTime string
    Last modification time of the prefix list.
    association_count int
    Number of resources associated with the prefix list.
    associations_route_tables Sequence[PrefixListAssociationsRouteTable]
    associations_security_groups Sequence[PrefixListAssociationsSecurityGroup]
    created_time str
    Creation time of the prefix list.
    id str
    The provider-assigned unique ID for this managed resource.
    prefix_list_id str
    Prefix list ID.
    status str
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    updated_time str
    Last modification time of the prefix list.
    associationCount Number
    Number of resources associated with the prefix list.
    associationsRouteTables List<Property Map>
    associationsSecurityGroups List<Property Map>
    createdTime String
    Creation time of the prefix list.
    id String
    The provider-assigned unique ID for this managed resource.
    prefixListId String
    Prefix list ID.
    status String
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    updatedTime String
    Last modification time of the prefix list.

    Look up Existing PrefixList Resource

    Get an existing PrefixList 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?: PrefixListState, opts?: CustomResourceOptions): PrefixList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            association_count: Optional[int] = None,
            associations_route_tables: Optional[Sequence[PrefixListAssociationsRouteTableArgs]] = None,
            associations_security_groups: Optional[Sequence[PrefixListAssociationsSecurityGroupArgs]] = None,
            created_time: Optional[str] = None,
            description: Optional[str] = None,
            ip_version: Optional[str] = None,
            max_entries: Optional[int] = None,
            prefix_list_entries: Optional[Sequence[PrefixListPrefixListEntryArgs]] = None,
            prefix_list_id: Optional[str] = None,
            prefix_list_name: Optional[str] = None,
            project_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[PrefixListTagArgs]] = None,
            updated_time: Optional[str] = None) -> PrefixList
    func GetPrefixList(ctx *Context, name string, id IDInput, state *PrefixListState, opts ...ResourceOption) (*PrefixList, error)
    public static PrefixList Get(string name, Input<string> id, PrefixListState? state, CustomResourceOptions? opts = null)
    public static PrefixList get(String name, Output<String> id, PrefixListState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:vpc:PrefixList    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:
    AssociationCount int
    Number of resources associated with the prefix list.
    AssociationsRouteTables List<Volcengine.PrefixListAssociationsRouteTable>
    AssociationsSecurityGroups List<Volcengine.PrefixListAssociationsSecurityGroup>
    CreatedTime string
    Creation time of the prefix list.
    Description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    IpVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    MaxEntries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    PrefixListEntries List<Volcengine.PrefixListPrefixListEntry>
    PrefixListId string
    Prefix list ID.
    PrefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    ProjectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    Status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    Tags List<Volcengine.PrefixListTag>
    UpdatedTime string
    Last modification time of the prefix list.
    AssociationCount int
    Number of resources associated with the prefix list.
    AssociationsRouteTables []PrefixListAssociationsRouteTableArgs
    AssociationsSecurityGroups []PrefixListAssociationsSecurityGroupArgs
    CreatedTime string
    Creation time of the prefix list.
    Description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    IpVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    MaxEntries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    PrefixListEntries []PrefixListPrefixListEntryArgs
    PrefixListId string
    Prefix list ID.
    PrefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    ProjectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    Status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    Tags []PrefixListTagArgs
    UpdatedTime string
    Last modification time of the prefix list.
    associationCount Integer
    Number of resources associated with the prefix list.
    associationsRouteTables List<PrefixListAssociationsRouteTable>
    associationsSecurityGroups List<PrefixListAssociationsSecurityGroup>
    createdTime String
    Creation time of the prefix list.
    description String
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion String
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    maxEntries Integer
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    prefixListEntries List<PrefixListPrefixListEntry>
    prefixListId String
    Prefix list ID.
    prefixListName String
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName String
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    status String
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    tags List<PrefixListTag>
    updatedTime String
    Last modification time of the prefix list.
    associationCount number
    Number of resources associated with the prefix list.
    associationsRouteTables PrefixListAssociationsRouteTable[]
    associationsSecurityGroups PrefixListAssociationsSecurityGroup[]
    createdTime string
    Creation time of the prefix list.
    description string
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion string
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    maxEntries number
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    prefixListEntries PrefixListPrefixListEntry[]
    prefixListId string
    Prefix list ID.
    prefixListName string
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName string
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    status string
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    tags PrefixListTag[]
    updatedTime string
    Last modification time of the prefix list.
    association_count int
    Number of resources associated with the prefix list.
    associations_route_tables Sequence[PrefixListAssociationsRouteTableArgs]
    associations_security_groups Sequence[PrefixListAssociationsSecurityGroupArgs]
    created_time str
    Creation time of the prefix list.
    description str
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ip_version str
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    max_entries int
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    prefix_list_entries Sequence[PrefixListPrefixListEntryArgs]
    prefix_list_id str
    Prefix list ID.
    prefix_list_name str
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    project_name str
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    status str
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    tags Sequence[PrefixListTagArgs]
    updated_time str
    Last modification time of the prefix list.
    associationCount Number
    Number of resources associated with the prefix list.
    associationsRouteTables List<Property Map>
    associationsSecurityGroups List<Property Map>
    createdTime String
    Creation time of the prefix list.
    description String
    Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    ipVersion String
    IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type.
    maxEntries Number
    Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200.
    prefixListEntries List<Property Map>
    prefixListId String
    Prefix list ID.
    prefixListName String
    Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-).
    projectName String
    Name of the project to which the prefix list belongs. If not specified, it is added to the default project.
    status String
    Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying.
    tags List<Property Map>
    updatedTime String
    Last modification time of the prefix list.

    Supporting Types

    PrefixListAssociationsRouteTable, PrefixListAssociationsRouteTableArgs

    ResourceId string
    ID of the associated resource.
    ResourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    ResourceId string
    ID of the associated resource.
    ResourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId String
    ID of the associated resource.
    resourceType String
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId string
    ID of the associated resource.
    resourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resource_id str
    ID of the associated resource.
    resource_type str
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId String
    ID of the associated resource.
    resourceType String
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.

    PrefixListAssociationsSecurityGroup, PrefixListAssociationsSecurityGroupArgs

    ResourceId string
    ID of the associated resource.
    ResourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    ResourceId string
    ID of the associated resource.
    ResourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId String
    ID of the associated resource.
    resourceType String
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId string
    ID of the associated resource.
    resourceType string
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resource_id str
    ID of the associated resource.
    resource_type str
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.
    resourceId String
    ID of the associated resource.
    resourceType String
    Type of associated resource. VpcRouteTable: route table; VpcSecurityGroup: security group.

    PrefixListPrefixListEntry, PrefixListPrefixListEntryArgs

    Cidr string
    CIDR of the prefix list entry.
    Description string
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    Cidr string
    CIDR of the prefix list entry.
    Description string
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    cidr String
    CIDR of the prefix list entry.
    description String
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    cidr string
    CIDR of the prefix list entry.
    description string
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    cidr str
    CIDR of the prefix list entry.
    description str
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).
    cidr String
    CIDR of the prefix list entry.
    description String
    Description of the prefix list entry. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。).

    PrefixListTag, PrefixListTagArgs

    Key string
    Tag key of the user tag.
    Value string
    Tag value of the user tag.
    Key string
    Tag key of the user tag.
    Value string
    Tag value of the user tag.
    key String
    Tag key of the user tag.
    value String
    Tag value of the user tag.
    key string
    Tag key of the user tag.
    value string
    Tag value of the user tag.
    key str
    Tag key of the user tag.
    value str
    Tag value of the user tag.
    key String
    Tag key of the user tag.
    value String
    Tag value of the user tag.

    Import

    $ pulumi import volcenginecc:vpc/prefixList:PrefixList example "prefix_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.