Skip to content

RouteEntriesProps

Properties for defining a RouteEntries.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routeentries

Initializer

import com.aliyun.ros.cdk.vpc.datasource.RouteEntriesProps;
RouteEntriesProps.builder()
    .routeTableId(java.lang.String)
    .routeTableId(IResolvable)
//  .destinationCidrBlock(java.lang.String)
//  .destinationCidrBlock(IResolvable)
//  .ipVersion(java.lang.String)
//  .ipVersion(IResolvable)
//  .nextHopId(java.lang.String)
//  .nextHopId(IResolvable)
//  .nextHopType(java.lang.String)
//  .nextHopType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .routeEntryId(java.lang.String)
//  .routeEntryId(IResolvable)
//  .routeEntryName(java.lang.String)
//  .routeEntryName(IResolvable)
//  .routeEntryType(java.lang.String)
//  .routeEntryType(IResolvable)
    .build();

Properties

Name Type Description
routeTableId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeTableId: The ID of the route table.
destinationCidrBlock java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property destinationCidrBlock: The destination CIDR block of the route.
ipVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ipVersion: The IP version.
nextHopId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property nextHopId: The ID of the next hop.
nextHopType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property nextHopType: The type of the next hop.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
routeEntryId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeEntryId: The ID of the route.
routeEntryName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeEntryName: The name of the route.
routeEntryType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeEntryType: The type of the route.

routeTableIdRequired

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

Property routeTableId: The ID of the route table.


destinationCidrBlockOptional

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

Property destinationCidrBlock: The destination CIDR block of the route.

IPv4 and IPv6 CIDR blocks are supported.


ipVersionOptional

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

Property ipVersion: The IP version.

Valid values: IPv4: IPv4 IPv6: IPv6


nextHopIdOptional

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

Property nextHopId: The ID of the next hop.


nextHopTypeOptional

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

Property nextHopType: The type of the next hop.

Valid values: Instance (default): an Elastic Compute Service (ECS) instance HaVip: a high-availability virtual IP address (HAVIP) VpnGateway: a VPN gateway NatGateway: a NAT gateway NetworkInterface: a secondary elastic network interface (ENI) RouterInterface: a router interface IPv6Gateway: an IPv6 gateway Attachment: a transit router


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

routeEntryIdOptional

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

Property routeEntryId: The ID of the route.


routeEntryNameOptional

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

Property routeEntryName: The name of the route.


routeEntryTypeOptional

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

Property routeEntryType: The type of the route.

Valid values: Custom: a custom route System: a system route BGP: a Border Gateway Protocol (BGP) route CEN: a Cloud Enterprise Network (CEN) route