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


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 2 to 256 characters in length. The description must start with a letter, but 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 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

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.