Skip to content

VpnRouteEntryProps

Properties for defining a VpnRouteEntry.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.VpnRouteEntryProps(
  next_hop: typing.Union[str, IResolvable],
  publish_vpc: typing.Union[bool, IResolvable],
  route_dest: 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
)

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.
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 route.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the VPN destination route.
overlay_mode typing.Union[str, ros_cdk_core.IResolvable] Property overlayMode: The overlay mode.

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.


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

Valid values: 0|100.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the VPN destination route.


overlay_modeOptional

overlay_mode: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property overlayMode: The overlay mode.