RouteProps
Properties for defining a Route
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
Initializer
import { RouteProps } from '@alicloud/ros-cdk-ecs'
const routeProps: RouteProps = { ... }
Properties
Name | Type | Description |
---|---|---|
destinationCidrBlock |
string | @alicloud/ros-cdk-core.IResolvable |
Property destinationCidrBlock: The RouteEntry's target network segment. |
routeTableId |
string | @alicloud/ros-cdk-core.IResolvable |
Property routeTableId: RouteTableId of created route entry. |
nextHopId |
string | @alicloud/ros-cdk-core.IResolvable |
Property nextHopId: The route entry's next hop. |
nextHopList |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | NextHopListProperty[] |
Property nextHopList: The route entry's next hop list. |
nextHopType |
string | @alicloud/ros-cdk-core.IResolvable |
Property nextHopType: The next hop type. |
destinationCidrBlock
Required
public readonly destinationCidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destinationCidrBlock: The RouteEntry's target network segment.
routeTableId
Required
public readonly routeTableId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeTableId: RouteTableId of created route entry.
nextHopId
Optional
public readonly nextHopId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nextHopId: The route entry's next hop.
When the NextHopList is specified, the value will be ignored.
nextHopList
Optional
public readonly nextHopList: IResolvable | IResolvable | NextHopListProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | NextHopListProperty[]
Property nextHopList: The route entry's next hop list.
If router is virtual border router, the value will be ignore. The list should contain 2-4 next hop. NextHopId of each next hop must be RouterInterface that VRouter forwards to VBR.
nextHopType
Optional
public readonly nextHopType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nextHopType: The next hop type.
Now support 'Instance|HaVip|RouterInterface|NetworkInterface|VpnGateway|IPv6Gateway|NatGateway|Attachment'. The default value is Instance.When the NextHopList is specified, the value will be ignored.