Skip to content

RouteTableProps

Properties for defining a RouteTable.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.RouteTableProps(
  vpc_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  route_table_name: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the VPC to which the custom route table belongs.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the route table.
route_table_name typing.Union[str, ros_cdk_core.IResolvable] Property routeTableName: The name of the route table.
tags typing.List[TagsProperty] Property tags: Tags to attach to routetable.

vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the route table.

The description must be 2 to 256 characters in length. The description must start with a letter, but cannot start with http:// or https://.


route_table_nameOptional

route_table_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routeTableName: The name of the route table.

The name must be 2 to 128 characters in length. It can contain letters, numbers, periods (.), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://.


tagsOptional

tags: typing.List[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.