Skip to content

BgpGroupProps

Properties for defining a BgpGroup.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.BgpGroupProps(
  peer_asn: typing.Union[typing.Union[int, float], IResolvable],
  router_id: typing.Union[str, IResolvable],
  auth_key: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  ip_version: typing.Union[str, IResolvable] = None,
  is_fake_asn: typing.Union[bool, IResolvable] = None,
  local_asn: typing.Union[typing.Union[int, float], IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  route_quota: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
peer_asn typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property peerAsn: The AS number of the BGP peer.
router_id typing.Union[str, ros_cdk_core.IResolvable] Property routerId: The ID of the VBR.
auth_key typing.Union[str, ros_cdk_core.IResolvable] Property authKey: The authentication key of the BGP group.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the BGP group.
ip_version typing.Union[str, ros_cdk_core.IResolvable] Property ipVersion: The IP version of the BGP group.
is_fake_asn typing.Union[bool, ros_cdk_core.IResolvable] Property isFakeAsn: A router that runs BGP typically belongs to only one AS.
local_asn typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property localAsn: The AS number on the Alibaba Cloud side.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the BGP group.
route_quota typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property routeQuota: The upper limit of the BGP neighbor's route entries.

peer_asnRequired

peer_asn: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property peerAsn: The AS number of the BGP peer.


router_idRequired

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

Property routerId: The ID of the VBR.


auth_keyOptional

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

Property authKey: The authentication key of the BGP group.


descriptionOptional

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

Property description: The description of the BGP group.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


ip_versionOptional

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

Property ipVersion: The IP version of the BGP group.

Valid values: IPv4 and IPv6.


is_fake_asnOptional

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

Property isFakeAsn: A router that runs BGP typically belongs to only one AS.

In some cases, for example, the AS needs to be migrated or is merged with another AS, a new AS number replaces the original one.


local_asnOptional

local_asn: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property localAsn: The AS number on the Alibaba Cloud side.


nameOptional

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

Property name: The name of the BGP group.

The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.


route_quotaOptional

route_quota: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property routeQuota: The upper limit of the BGP neighbor's route entries.

Unit: entries, default value: 110.