VpnRouteEntryProps
Properties for defining a VpnRouteEntry.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpnrouteentry
Initializer
import { VpnRouteEntryProps } from '@alicloud/ros-cdk-vpc'
const vpnRouteEntryProps: VpnRouteEntryProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
nextHop | string | @alicloud/ros-cdk-core.IResolvable | Property nextHop: The next hop of the destination route entry. |
publishVpc | boolean | @alicloud/ros-cdk-core.IResolvable | Property publishVpc: Indicates whether to publish the destination route to the VPC. |
routeDest | string | @alicloud/ros-cdk-core.IResolvable | Property routeDest: The destination CIDR block of the destination route. |
vpnGatewayId | string | @alicloud/ros-cdk-core.IResolvable | Property vpnGatewayId: The ID of the VPN Gateway. |
weight | number | @alicloud/ros-cdk-core.IResolvable | Property weight: The weight of the destination-based route. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the destination-based route. |
overlayMode | string | @alicloud/ros-cdk-core.IResolvable | Property overlayMode: The tunneling protocol. |
nextHopRequired
public readonly nextHop: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nextHop: The next hop of the destination route entry.
publishVpcRequired
public readonly publishVpc: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property publishVpc: Indicates whether to publish the destination route to the VPC.
Valid values: true: Publish the destination route to the VPC. false: Do not publish the destination route to the VPC.
routeDestRequired
public readonly routeDest: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeDest: The destination CIDR block of the destination route.
vpnGatewayIdRequired
public readonly vpnGatewayId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpnGatewayId: The ID of the VPN Gateway.
weightRequired
public readonly weight: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property weight: The weight of the destination-based route.
Valid values: * 100: a high priority * 0: a low priority
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the destination-based route.
The description must be 1 to 100 characters in length, and cannot start with http:\/\/ or https:\/\/.
overlayModeOptional
public readonly overlayMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property overlayMode: The tunneling protocol.
The value is set to Ipsec, which indicates the IPsec tunneling protocol.