Skip to content

RouteEntriesProps

Properties for defining a RouteEntries.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-vpc'
const routeEntriesProps: datasource.RouteEntriesProps = { ... }

Properties

Name Type Description
routeTableId string | @alicloud/ros-cdk-core.IResolvable Property routeTableId: The ID of the route table.
destinationCidrBlock string | @alicloud/ros-cdk-core.IResolvable Property destinationCidrBlock: The destination CIDR block of the route.
ipVersion string | @alicloud/ros-cdk-core.IResolvable Property ipVersion: The IP version.
nextHopId string | @alicloud/ros-cdk-core.IResolvable Property nextHopId: The ID of the next hop.
nextHopType string | @alicloud/ros-cdk-core.IResolvable Property nextHopType: The type of the next hop.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
routeEntryId string | @alicloud/ros-cdk-core.IResolvable Property routeEntryId: The ID of the route.
routeEntryName string | @alicloud/ros-cdk-core.IResolvable Property routeEntryName: The name of the route.
routeEntryType string | @alicloud/ros-cdk-core.IResolvable Property routeEntryType: The type of the route.

routeTableIdRequired

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

Property routeTableId: The ID of the route table.


destinationCidrBlockOptional

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

Property destinationCidrBlock: The destination CIDR block of the route.

IPv4 and IPv6 CIDR blocks are supported.


ipVersionOptional

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

Property ipVersion: The IP version.

Valid values: IPv4: IPv4 IPv6: IPv6


nextHopIdOptional

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

Property nextHopId: The ID of the next hop.


nextHopTypeOptional

public readonly nextHopType: string | IResolvable;
  • Type: string | @alicloud/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 readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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 readonly routeEntryId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property routeEntryId: The ID of the route.


routeEntryNameOptional

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

Property routeEntryName: The name of the route.


routeEntryTypeOptional

public readonly routeEntryType: string | IResolvable;
  • Type: string | @alicloud/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