Skip to content

TransitRouterCidrProps

Properties for defining a TransitRouterCidr.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-transitroutercidr

Initializer

import ros_cdk_cen
ros_cdk_cen.TransitRouterCidrProps(
  cidr: typing.Union[str, IResolvable],
  transit_router_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  publish_cidr_route: typing.Union[bool, IResolvable] = None,
  transit_router_cidr_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cidr typing.Union[str, ros_cdk_core.IResolvable] Property cidr: The CIDR block of the transit router.
transit_router_id typing.Union[str, ros_cdk_core.IResolvable] Property transitRouterId: The ID of the transit router.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The new description of the transit router CIDR block.
publish_cidr_route typing.Union[bool, ros_cdk_core.IResolvable] Property publishCidrRoute: Specifies whether to allow the system to automatically add a route that points to the CIDR block to the route table of the transit router.
transit_router_cidr_name typing.Union[str, ros_cdk_core.IResolvable] Property transitRouterCidrName: The new name of the transit router CIDR block.

cidrRequired

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

Property cidr: The CIDR block of the transit router.


transit_router_idRequired

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

Property transitRouterId: The ID of the transit router.


descriptionOptional

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

Property description: The new description of the transit router CIDR block.

The description must be 1 to 256 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.


publish_cidr_routeOptional

publish_cidr_route: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property publishCidrRoute: Specifies whether to allow the system to automatically add a route that points to the CIDR block to the route table of the transit router.

  • true (default) If you set the value to true, after you create a VPN attachment on a private VPN gateway and enable route learning for the VPN attachment, the system automatically adds the following route to the route table of the transit router that is in route learning relationship with the VPN attachment: A blackhole route whose destination CIDR block is the transit router CIDR block, which refers to the CIDR block from which gateway IP addresses are allocated to the IPsec-VPN connection. The blackhole route is advertised only to the route tables of virtual border routers (VBRs) connected to the transit router.
  • false.

transit_router_cidr_nameOptional

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

Property transitRouterCidrName: The new name of the transit router CIDR block.

The name must be 1 to 128 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.