Skip to content

VpnPbrRouteEntryProps

Properties for defining a VpnPbrRouteEntry.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpnpbrrouteentry

Initializer

import { VpnPbrRouteEntryProps } from '@alicloud/ros-cdk-vpc'
const vpnPbrRouteEntryProps: VpnPbrRouteEntryProps = { ... }

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.
routeSource string | @alicloud/ros-cdk-core.IResolvable Property routeSource: The source CIDR block of the policy-based 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.
priority number | @alicloud/ros-cdk-core.IResolvable Property priority: Policy priority for policy routing.

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.


routeSourceRequired

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

Property routeSource: The source CIDR block of the policy-based 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.


priorityOptional

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

Property priority: Policy priority for policy routing.

Range: 1-100 Default value: 10. The smaller the policy priority number, the higher the priority of the policy route.