VpnPbrRouteEntryProps
Properties for defining a VpnPbrRouteEntry.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpnpbrrouteentry
Initializer
import ros_cdk_vpc
ros_cdk_vpc.VpnPbrRouteEntryProps(
next_hop: typing.Union[str, IResolvable],
publish_vpc: typing.Union[bool, IResolvable],
route_dest: typing.Union[str, IResolvable],
route_source: typing.Union[str, IResolvable],
vpn_gateway_id: typing.Union[str, IResolvable],
weight: typing.Union[typing.Union[int, float], IResolvable],
description: typing.Union[str, IResolvable] = None,
overlay_mode: typing.Union[str, IResolvable] = None,
priority: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
next_hop | typing.Union[str, ros_cdk_core.IResolvable] | Property nextHop: The next hop of the destination route entry. |
publish_vpc | typing.Union[bool, ros_cdk_core.IResolvable] | Property publishVpc: Indicates whether to publish the destination route to the VPC. |
route_dest | typing.Union[str, ros_cdk_core.IResolvable] | Property routeDest: The destination CIDR block of the destination route. |
route_source | typing.Union[str, ros_cdk_core.IResolvable] | Property routeSource: The source CIDR block of the policy-based route. |
vpn_gateway_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vpnGatewayId: The ID of the VPN Gateway. |
weight | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property weight: The weight of the destination-based route. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: The description of the destination-based route. |
overlay_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property overlayMode: The tunneling protocol. |
priority | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property priority: Policy priority for policy routing. |
next_hopRequired
next_hop: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property nextHop: The next hop of the destination route entry.
publish_vpcRequired
publish_vpc: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, 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.
route_destRequired
route_dest: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property routeDest: The destination CIDR block of the destination route.
route_sourceRequired
route_source: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property routeSource: The source CIDR block of the policy-based route.
vpn_gateway_idRequired
vpn_gateway_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpnGatewayId: The ID of the VPN Gateway.
weightRequired
weight: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property weight: The weight of the destination-based route.
Valid values:
- 100: a high priority
- 0: a low priority
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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:\/\/.
overlay_modeOptional
overlay_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property overlayMode: The tunneling protocol.
The value is set to Ipsec, which indicates the IPsec tunneling protocol.
priorityOptional
priority: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.