NewPrivateVirtualInterface
¶
Used by
Source code in docs_src/capo_direct_connect/types/new_private_virtual_interface.py
address_family
instance-attribute
¶
address_family: NotRequired[AddressFamily]
The address family for the BGP peer.
amazon_address
instance-attribute
¶
amazon_address: NotRequired[AmazonAddress]
The IP address assigned to the Amazon interface.
asn
instance-attribute
¶
asn: ASN
The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use asnLong instead.
-
You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong. -
If you enter a 4-byte ASN for the
asnparameter, the API returns an error. -
If you are using a 2-byte ASN, the API response will include the 2-byte value for both the
asnandasnLongfields.
The valid values are 1-2147483646.
asn_long
instance-attribute
¶
asn_long: NotRequired[LongAsn]
The long ASN for a new private virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.
Note the following limitations when using asnLong:
-
You can use
asnLongorasn, but not both. We recommend usingasnLongas it supports a greater pool of numbers. -
asnLongaccepts any valid ASN value, regardless if it's 2-byte or 4-byte. -
When using a 4-byte
asnLong, the API response returns0for the legacyasnattribute since 4-byte ASN values exceed the maximum supported value of 2,147,483,647. -
If you are using a 2-byte ASN, the API response will include the 2-byte value for both the
asnandasnLongfields. -
If you provide a value in the same API call for both
asnandasnLong, the API will only accept the value forasnLong.
auth_key
instance-attribute
¶
auth_key: NotRequired[BGPAuthKey]
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
customer_address
instance-attribute
¶
customer_address: NotRequired[CustomerAddress]
The IP address assigned to the customer interface.
direct_connect_gateway_id
instance-attribute
¶
direct_connect_gateway_id: NotRequired[DirectConnectGatewayId]
The ID of the Direct Connect gateway.
enable_site_link
instance-attribute
¶
enable_site_link: NotRequired[EnableSiteLink]
Indicates whether to enable or disable SiteLink.
mtu
instance-attribute
¶
mtu: NotRequired[MTU]
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
prefix_pool_allocated_count_ipv4
instance-attribute
¶
prefix_pool_allocated_count_ipv4: NotRequired[PrefixPoolAllocatedCount]
The number of inbound IPv4 route prefixes to allocate to the virtual interface.
prefix_pool_allocated_count_ipv6
instance-attribute
¶
prefix_pool_allocated_count_ipv6: NotRequired[PrefixPoolAllocatedCount]
The number of inbound IPv6 route prefixes to allocate to the virtual interface.
rate_limit
instance-attribute
¶
rate_limit: NotRequired[RateLimit]
The rate limit (bandwidth allocation) to apply to the virtual interface. The rate limit restricts the maximum bandwidth that the virtual interface can use on the parent connection.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tags associated with the private virtual interface.
virtual_gateway_id
instance-attribute
¶
virtual_gateway_id: NotRequired[VirtualGatewayId]
The ID of the virtual private gateway.
virtual_interface_name
instance-attribute
¶
virtual_interface_name: VirtualInterfaceName
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).