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

    By establishing a connection between the private network and the transit router, you can enable private network communication between the private network and the transit router.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      transitRouterVpcAttachmentDemo:
        type: volcenginecc:transitrouter:VpcAttachment
        name: TransitRouterVpcAttachmentDemo
        properties:
          applianceModeEnabled: false
          attachPoints:
            - subnet_id: subnet-ijifxxxxx8culvzg85
              zone_id: cn-beijing-a
          autoPublishRouteEnabled: false
          description: test
          ipv6Enabled: false
          tags:
            - key: env
              value: test
          transitRouterAttachmentName: ccapi-test-1
          transitRouterId: tr-mjl8xxxxxg5smt1boobol4
          vpcId: vpc-btg9hmxxxxx0b2tnp1on8
    

    Create VpcAttachment Resource

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

    Constructor syntax

    new VpcAttachment(name: string, args: VpcAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def VpcAttachment(resource_name: str,
                      args: VpcAttachmentArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcAttachment(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      attach_points: Optional[Sequence[VpcAttachmentAttachPointArgs]] = None,
                      transit_router_id: Optional[str] = None,
                      vpc_id: Optional[str] = None,
                      appliance_mode_enabled: Optional[bool] = None,
                      auto_publish_route_enabled: Optional[bool] = None,
                      description: Optional[str] = None,
                      ipv6_enabled: Optional[bool] = None,
                      tags: Optional[Sequence[VpcAttachmentTagArgs]] = None,
                      transit_router_attachment_name: Optional[str] = None)
    func NewVpcAttachment(ctx *Context, name string, args VpcAttachmentArgs, opts ...ResourceOption) (*VpcAttachment, error)
    public VpcAttachment(string name, VpcAttachmentArgs args, CustomResourceOptions? opts = null)
    public VpcAttachment(String name, VpcAttachmentArgs args)
    public VpcAttachment(String name, VpcAttachmentArgs args, CustomResourceOptions options)
    
    type: volcenginecc:transitrouter:VpcAttachment
    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 VpcAttachmentArgs
    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 VpcAttachmentArgs
    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 VpcAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcAttachmentArgs
    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 vpcAttachmentResource = new Volcenginecc.Transitrouter.VpcAttachment("vpcAttachmentResource", new()
    {
        AttachPoints = new[]
        {
            new Volcenginecc.Transitrouter.Inputs.VpcAttachmentAttachPointArgs
            {
                SubnetId = "string",
                ZoneId = "string",
            },
        },
        TransitRouterId = "string",
        VpcId = "string",
        ApplianceModeEnabled = false,
        AutoPublishRouteEnabled = false,
        Description = "string",
        Ipv6Enabled = false,
        Tags = new[]
        {
            new Volcenginecc.Transitrouter.Inputs.VpcAttachmentTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        TransitRouterAttachmentName = "string",
    });
    
    example, err := transitrouter.NewVpcAttachment(ctx, "vpcAttachmentResource", &transitrouter.VpcAttachmentArgs{
    	AttachPoints: transitrouter.VpcAttachmentAttachPointArray{
    		&transitrouter.VpcAttachmentAttachPointArgs{
    			SubnetId: pulumi.String("string"),
    			ZoneId:   pulumi.String("string"),
    		},
    	},
    	TransitRouterId:         pulumi.String("string"),
    	VpcId:                   pulumi.String("string"),
    	ApplianceModeEnabled:    pulumi.Bool(false),
    	AutoPublishRouteEnabled: pulumi.Bool(false),
    	Description:             pulumi.String("string"),
    	Ipv6Enabled:             pulumi.Bool(false),
    	Tags: transitrouter.VpcAttachmentTagArray{
    		&transitrouter.VpcAttachmentTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	TransitRouterAttachmentName: pulumi.String("string"),
    })
    
    var vpcAttachmentResource = new VpcAttachment("vpcAttachmentResource", VpcAttachmentArgs.builder()
        .attachPoints(VpcAttachmentAttachPointArgs.builder()
            .subnetId("string")
            .zoneId("string")
            .build())
        .transitRouterId("string")
        .vpcId("string")
        .applianceModeEnabled(false)
        .autoPublishRouteEnabled(false)
        .description("string")
        .ipv6Enabled(false)
        .tags(VpcAttachmentTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .transitRouterAttachmentName("string")
        .build());
    
    vpc_attachment_resource = volcenginecc.transitrouter.VpcAttachment("vpcAttachmentResource",
        attach_points=[{
            "subnet_id": "string",
            "zone_id": "string",
        }],
        transit_router_id="string",
        vpc_id="string",
        appliance_mode_enabled=False,
        auto_publish_route_enabled=False,
        description="string",
        ipv6_enabled=False,
        tags=[{
            "key": "string",
            "value": "string",
        }],
        transit_router_attachment_name="string")
    
    const vpcAttachmentResource = new volcenginecc.transitrouter.VpcAttachment("vpcAttachmentResource", {
        attachPoints: [{
            subnetId: "string",
            zoneId: "string",
        }],
        transitRouterId: "string",
        vpcId: "string",
        applianceModeEnabled: false,
        autoPublishRouteEnabled: false,
        description: "string",
        ipv6Enabled: false,
        tags: [{
            key: "string",
            value: "string",
        }],
        transitRouterAttachmentName: "string",
    });
    
    type: volcenginecc:transitrouter:VpcAttachment
    properties:
        applianceModeEnabled: false
        attachPoints:
            - subnetId: string
              zoneId: string
        autoPublishRouteEnabled: false
        description: string
        ipv6Enabled: false
        tags:
            - key: string
              value: string
        transitRouterAttachmentName: string
        transitRouterId: string
        vpcId: string
    

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

    AttachPoints List<Volcengine.VpcAttachmentAttachPoint>
    TransitRouterId string
    Transit router instance ID.
    VpcId string
    Private network instance ID.
    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Tags List<Volcengine.VpcAttachmentTag>
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    AttachPoints []VpcAttachmentAttachPointArgs
    TransitRouterId string
    Transit router instance ID.
    VpcId string
    Private network instance ID.
    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Tags []VpcAttachmentTagArgs
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    attachPoints List<VpcAttachmentAttachPoint>
    transitRouterId String
    Transit router instance ID.
    vpcId String
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    tags List<VpcAttachmentTag>
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    attachPoints VpcAttachmentAttachPoint[]
    transitRouterId string
    Transit router instance ID.
    vpcId string
    Private network instance ID.
    applianceModeEnabled boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    autoPublishRouteEnabled boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    tags VpcAttachmentTag[]
    transitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    attach_points Sequence[VpcAttachmentAttachPointArgs]
    transit_router_id str
    Transit router instance ID.
    vpc_id str
    Private network instance ID.
    appliance_mode_enabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    auto_publish_route_enabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    description str
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6_enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    tags Sequence[VpcAttachmentTagArgs]
    transit_router_attachment_name str
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    attachPoints List<Property Map>
    transitRouterId String
    Transit router instance ID.
    vpcId String
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    tags List<Property Map>
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.

    Outputs

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

    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    TransitRouterAttachmentId string
    Network instance connection ID.
    UpdatedTime string
    Update time.
    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    TransitRouterAttachmentId string
    Network instance connection ID.
    UpdatedTime string
    Update time.
    bandwidth Integer
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    transitRouterAttachmentId String
    Network instance connection ID.
    updatedTime String
    Update time.
    bandwidth number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime string
    Creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    transitRouterAttachmentId string
    Network instance connection ID.
    updatedTime string
    Update time.
    bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    created_time str
    Creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    transit_router_attachment_id str
    Network instance connection ID.
    updated_time str
    Update time.
    bandwidth Number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    transitRouterAttachmentId String
    Network instance connection ID.
    updatedTime String
    Update time.

    Look up Existing VpcAttachment Resource

    Get an existing VpcAttachment 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?: VpcAttachmentState, opts?: CustomResourceOptions): VpcAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            appliance_mode_enabled: Optional[bool] = None,
            attach_points: Optional[Sequence[VpcAttachmentAttachPointArgs]] = None,
            auto_publish_route_enabled: Optional[bool] = None,
            bandwidth: Optional[int] = None,
            created_time: Optional[str] = None,
            description: Optional[str] = None,
            ipv6_enabled: Optional[bool] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[VpcAttachmentTagArgs]] = None,
            transit_router_attachment_id: Optional[str] = None,
            transit_router_attachment_name: Optional[str] = None,
            transit_router_id: Optional[str] = None,
            updated_time: Optional[str] = None,
            vpc_id: Optional[str] = None) -> VpcAttachment
    func GetVpcAttachment(ctx *Context, name string, id IDInput, state *VpcAttachmentState, opts ...ResourceOption) (*VpcAttachment, error)
    public static VpcAttachment Get(string name, Input<string> id, VpcAttachmentState? state, CustomResourceOptions? opts = null)
    public static VpcAttachment get(String name, Output<String> id, VpcAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:transitrouter:VpcAttachment    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:
    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AttachPoints List<Volcengine.VpcAttachmentAttachPoint>
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    Tags List<Volcengine.VpcAttachmentTag>
    TransitRouterAttachmentId string
    Network instance connection ID.
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    TransitRouterId string
    Transit router instance ID.
    UpdatedTime string
    Update time.
    VpcId string
    Private network instance ID.
    ApplianceModeEnabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    AttachPoints []VpcAttachmentAttachPointArgs
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    Bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    CreatedTime string
    Creation time.
    Description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    Ipv6Enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    Status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    Tags []VpcAttachmentTagArgs
    TransitRouterAttachmentId string
    Network instance connection ID.
    TransitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    TransitRouterId string
    Transit router instance ID.
    UpdatedTime string
    Update time.
    VpcId string
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints List<VpcAttachmentAttachPoint>
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth Integer
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags List<VpcAttachmentTag>
    transitRouterAttachmentId String
    Network instance connection ID.
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId String
    Transit router instance ID.
    updatedTime String
    Update time.
    vpcId String
    Private network instance ID.
    applianceModeEnabled boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints VpcAttachmentAttachPoint[]
    autoPublishRouteEnabled boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime string
    Creation time.
    description string
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status string
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags VpcAttachmentTag[]
    transitRouterAttachmentId string
    Network instance connection ID.
    transitRouterAttachmentName string
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId string
    Transit router instance ID.
    updatedTime string
    Update time.
    vpcId string
    Private network instance ID.
    appliance_mode_enabled bool
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attach_points Sequence[VpcAttachmentAttachPointArgs]
    auto_publish_route_enabled bool
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth int
    Maximum bandwidth for the network instance connection, in Gbps.
    created_time str
    Creation time.
    description str
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6_enabled bool
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status str
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags Sequence[VpcAttachmentTagArgs]
    transit_router_attachment_id str
    Network instance connection ID.
    transit_router_attachment_name str
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transit_router_id str
    Transit router instance ID.
    updated_time str
    Update time.
    vpc_id str
    Private network instance ID.
    applianceModeEnabled Boolean
    Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
    attachPoints List<Property Map>
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
    bandwidth Number
    Maximum bandwidth for the network instance connection, in Gbps.
    createdTime String
    Creation time.
    description String
    Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string.
    ipv6Enabled Boolean
    Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
    status String
    Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
    tags List<Property Map>
    transitRouterAttachmentId String
    Network instance connection ID.
    transitRouterAttachmentName String
    Name of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
    transitRouterId String
    Transit router instance ID.
    updatedTime String
    Update time.
    vpcId String
    Private network instance ID.

    Supporting Types

    VpcAttachmentAttachPoint, VpcAttachmentAttachPointArgs

    SubnetId string
    Subnet ID of the connection point.
    ZoneId string
    Availability zone ID of the connection point.
    SubnetId string
    Subnet ID of the connection point.
    ZoneId string
    Availability zone ID of the connection point.
    subnetId String
    Subnet ID of the connection point.
    zoneId String
    Availability zone ID of the connection point.
    subnetId string
    Subnet ID of the connection point.
    zoneId string
    Availability zone ID of the connection point.
    subnet_id str
    Subnet ID of the connection point.
    zone_id str
    Availability zone ID of the connection point.
    subnetId String
    Subnet ID of the connection point.
    zoneId String
    Availability zone ID of the connection point.

    VpcAttachmentTag, VpcAttachmentTagArgs

    Key string
    Tag key for user tag.
    Value string
    Tag value for user tag.
    Key string
    Tag key for user tag.
    Value string
    Tag value for user tag.
    key String
    Tag key for user tag.
    value String
    Tag value for user tag.
    key string
    Tag key for user tag.
    value string
    Tag value for user tag.
    key str
    Tag key for user tag.
    value str
    Tag value for user tag.
    key String
    Tag key for user tag.
    value String
    Tag value for user tag.

    Import

    $ pulumi import volcenginecc:transitrouter/vpcAttachment:VpcAttachment example "transit_router_id|transit_router_attachment_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.