Skip to content

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 route.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the VPN destination route.
overlayMode string | @alicloud/ros-cdk-core.IResolvable Property overlayMode: The overlay mode.

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 route.

Valid values: 0|100.


descriptionOptional

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

Property description: The description of the VPN destination route.


overlayModeOptional

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

Property overlayMode: The overlay mode.