Skip to content

RouteTableProps

Properties for defining a RouteTable.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-routetable

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.RouteTableProps {
    VpcId: interface{},
    AssociateType: interface{},
    Description: interface{},
    RouteTableName: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.RosRouteTable.TagsProperty,
}

Properties

Name Type Description
VpcId interface{} Property vpcId: The ID of the VPC to which the custom route table belongs.
AssociateType interface{} Property associateType: The type of the route table.
Description interface{} Property description: The description of the route table.
RouteTableName interface{} Property routeTableName: The name of the route table.
Tags *[]TagsProperty Property tags: Tags to attach to routetable.

VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC to which the custom route table belongs.


AssociateTypeOptional

AssociateType interface{}
  • Type: interface{}

Property associateType: The type of the route table.

Valid values:

  • VSwitch (default): vSwitch route table
  • Gateway: gateway route table

DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the route table.

The description must be 1 to 256 characters in length, and cannot start with http:\/\/ or https:\/\/.


RouteTableNameOptional

RouteTableName interface{}
  • Type: interface{}

Property routeTableName: The name of the route table.

The name must be 1 to 128 characters in length, and cannot start with http:\/\/ or https:\/\/.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to routetable.

Max support 20 tags to add during create routetable. Each tag with two properties Key and Value, and Key is required.