Skip to content

TransitRouterCidrProps

Properties for defining a TransitRouterCidr.

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

Initializer

import { TransitRouterCidrProps } from '@alicloud/ros-cdk-cen'
const transitRouterCidrProps: TransitRouterCidrProps = { ... }

Properties

Name Type Description
cidr string | @alicloud/ros-cdk-core.IResolvable Property cidr: The CIDR block of the transit router.
transitRouterId string | @alicloud/ros-cdk-core.IResolvable Property transitRouterId: The ID of the transit router.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The new description of the transit router CIDR block.
publishCidrRoute boolean | @alicloud/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.
transitRouterCidrName string | @alicloud/ros-cdk-core.IResolvable Property transitRouterCidrName: The new name of the transit router CIDR block.

cidrRequired

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

Property cidr: The CIDR block of the transit router.


transitRouterIdRequired

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

Property transitRouterId: The ID of the transit router.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/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.


publishCidrRouteOptional

public readonly publishCidrRoute: boolean | IResolvable;
  • Type: boolean | @alicloud/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.

transitRouterCidrNameOptional

public readonly transitRouterCidrName: string | IResolvable;
  • Type: string | @alicloud/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.