Skip to content

RouteEntriesProps

Properties for defining a RouteEntries.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routeentries

Initializer

from ros_cdk_vpc import datasource
datasource.RouteEntriesProps(
  route_table_id: typing.Union[str, IResolvable],
  destination_cidr_block: typing.Union[str, IResolvable] = None,
  ip_version: typing.Union[str, IResolvable] = None,
  next_hop_id: typing.Union[str, IResolvable] = None,
  next_hop_type: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  route_entry_id: typing.Union[str, IResolvable] = None,
  route_entry_name: typing.Union[str, IResolvable] = None,
  route_entry_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
route_table_id typing.Union[str, ros_cdk_core.IResolvable] Property routeTableId: The ID of the route table.
destination_cidr_block typing.Union[str, ros_cdk_core.IResolvable] Property destinationCidrBlock: The destination CIDR block of the route.
ip_version typing.Union[str, ros_cdk_core.IResolvable] Property ipVersion: The IP version.
next_hop_id typing.Union[str, ros_cdk_core.IResolvable] Property nextHopId: The ID of the next hop.
next_hop_type typing.Union[str, ros_cdk_core.IResolvable] Property nextHopType: The type of the next hop.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
route_entry_id typing.Union[str, ros_cdk_core.IResolvable] Property routeEntryId: The ID of the route.
route_entry_name typing.Union[str, ros_cdk_core.IResolvable] Property routeEntryName: The name of the route.
route_entry_type typing.Union[str, ros_cdk_core.IResolvable] Property routeEntryType: The type of the route.

route_table_idRequired

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

Property routeTableId: The ID of the route table.


destination_cidr_blockOptional

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

Property destinationCidrBlock: The destination CIDR block of the route.

IPv4 and IPv6 CIDR blocks are supported.


ip_versionOptional

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

Property ipVersion: The IP version.

Valid values: IPv4: IPv4 IPv6: IPv6


next_hop_idOptional

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

Property nextHopId: The ID of the next hop.


next_hop_typeOptional

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

Property nextHopType: The type of the next hop.

Valid values: Instance (default): an Elastic Compute Service (ECS) instance HaVip: a high-availability virtual IP address (HAVIP) VpnGateway: a VPN gateway NatGateway: a NAT gateway NetworkInterface: a secondary elastic network interface (ENI) RouterInterface: a router interface IPv6Gateway: an IPv6 gateway Attachment: a transit router


refresh_optionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

route_entry_idOptional

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

Property routeEntryId: The ID of the route.


route_entry_nameOptional

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

Property routeEntryName: The name of the route.


route_entry_typeOptional

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

Property routeEntryType: The type of the route.

Valid values: Custom: a custom route System: a system route BGP: a Border Gateway Protocol (BGP) route CEN: a Cloud Enterprise Network (CEN) route