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)
//  .associateType(java.lang.String)
//  .associateType(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.
associateType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property associateType: The type of the route table.
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.


associateTypeOptional

public java.lang.Object getAssociateType();
  • Type: java.lang.String OR com.aliyun.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 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 1 to 256 characters in length, and 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 1 to 128 characters in length, 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.