Skip to content

RouteTableProps

Properties for defining a RouteTable.

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

Initializer

import { RouteTableProps } from '@alicloud/ros-cdk-vpc'
const routeTableProps: RouteTableProps = { ... }

Properties

Name Type Description
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of the VPC to which the custom route table belongs.
associateType string | @alicloud/ros-cdk-core.IResolvable Property associateType: The type of the route table.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the route table.
routeTableName string | @alicloud/ros-cdk-core.IResolvable Property routeTableName: The name of the route table.
tags TagsProperty[] Property tags: Tags to attach to routetable.

vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


associateTypeOptional

public readonly associateType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property associateType: The type of the route table.

Valid values: * VSwitch (default): vSwitch route table * Gateway: gateway route table


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly routeTableName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly 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.