Skip to content

RouteTableProps

Properties for defining a RouteTable.

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

Initializer

import com.aliyun.ros.cdk.vpc.RouteTableProps;
RouteTableProps.builder()
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .routeTableName(java.lang.String)
//  .routeTableName(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC to which the custom route table belongs.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the route table.
routeTableName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeTableName: The name of the route table.
tags java.util.List<TagsProperty> Property tags: Tags to attach to routetable.

vpcIdRequired

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getRouteTableName();
  • Type: java.lang.String OR com.aliyun.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 java.util.List<TagsProperty> getTags();

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.