VirtualInterface
¶
Source code in docs_src/capo_direct_connect/types/virtual_interface.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
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.
amazon_side_asn
instance-attribute
¶
amazon_side_asn: NotRequired[LongAsn]
The autonomous system number (AS) for the Amazon side of the connection.
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.
asn_long
instance-attribute
¶
asn_long: NotRequired[LongAsn]
The long ASN for the 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.
aws_device_v2
instance-attribute
¶
aws_device_v2: NotRequired[AwsDeviceV2]
The Direct Connect endpoint that terminates the physical connection.
aws_logical_device_id
instance-attribute
¶
aws_logical_device_id: NotRequired[AwsLogicalDeviceId]
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
bgp_peers
instance-attribute
¶
bgp_peers: NotRequired[BGPPeerList]
The BGP peers configured on this virtual interface.
connection_id
instance-attribute
¶
connection_id: NotRequired[ConnectionId]
The ID of the connection.
customer_address
instance-attribute
¶
customer_address: NotRequired[CustomerAddress]
The IP address assigned to the customer interface.
customer_router_config
instance-attribute
¶
customer_router_config: NotRequired[RouterConfig]
The customer router configuration.
direct_connect_gateway_id
instance-attribute
¶
direct_connect_gateway_id: NotRequired[DirectConnectGatewayId]
The ID of the Direct Connect gateway.
jumbo_frame_capable
instance-attribute
¶
jumbo_frame_capable: NotRequired[JumboFrameCapable]
Indicates whether jumbo frames are supported.
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
owner_account
instance-attribute
¶
owner_account: NotRequired[OwnerAccount]
The ID of the Amazon Web Services account that owns the virtual interface.
prefix_pool_allocated_count_ipv4
instance-attribute
¶
prefix_pool_allocated_count_ipv4: NotRequired[PrefixPoolAllocatedCount]
The number of inbound IPv4 route prefixes allocated to the virtual interface. Not applicable to public virtual interfaces.
prefix_pool_allocated_count_ipv6
instance-attribute
¶
prefix_pool_allocated_count_ipv6: NotRequired[PrefixPoolAllocatedCount]
The number of inbound IPv6 route prefixes allocated to the virtual interface. Not applicable to public virtual interfaces.
rate_limit
instance-attribute
¶
rate_limit: NotRequired[RateLimit]
The rate limit (bandwidth allocation) applied to the virtual interface. The value must be one of the supported bandwidth values and cannot exceed the bandwidth of the parent connection or LAG. Supported values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 600Mbps, 700Mbps, 800Mbps, 900Mbps, 1Gbps, 1.2Gbps, 1.5Gbps, 1.8Gbps, 2Gbps, 2.1Gbps, 2.4Gbps, 2.7Gbps, 3Gbps, 3.2Gbps, 3.6Gbps, 4Gbps, 5Gbps, 6Gbps, 7Gbps, 8Gbps, 9Gbps, 10Gbps, 12Gbps, 15Gbps, 18Gbps, 20Gbps, 21Gbps, 24Gbps, 27Gbps, 30Gbps, 32Gbps, 36Gbps, 40Gbps, 50Gbps, 60Gbps, 70Gbps, 80Gbps, 100Gbps, 120Gbps, 150Gbps, 180Gbps, 200Gbps, 210Gbps, 240Gbps, 270Gbps, 300Gbps, 320Gbps, 360Gbps, 400Gbps, 450Gbps, 480Gbps, 500Gbps, 540Gbps, 600Gbps, 700Gbps, 800Gbps, 900Gbps, 1Tbps, 1.1Tbps, 1.2Tbps, 1.3Tbps, 1.4Tbps, 1.5Tbps, 1.6Tbps.
region
instance-attribute
¶
region: NotRequired[Region]
The Amazon Web Services Region where the virtual interface is located.
route_filter_prefixes
instance-attribute
¶
route_filter_prefixes: NotRequired[RouteFilterPrefixList]
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
site_link_enabled
instance-attribute
¶
site_link_enabled: NotRequired[SiteLinkEnabled]
Indicates whether SiteLink is enabled.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tags associated with the virtual interface.
virtual_gateway_id
instance-attribute
¶
virtual_gateway_id: NotRequired[VirtualGatewayId]
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtual_interface_id
instance-attribute
¶
virtual_interface_id: NotRequired[VirtualInterfaceId]
The ID of the virtual interface.
virtual_interface_name
instance-attribute
¶
virtual_interface_name: NotRequired[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 (-).
virtual_interface_state
instance-attribute
¶
virtual_interface_state: NotRequired[VirtualInterfaceState]
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
testing: A virtual interface is in this state immediately after calling StartBgpFailoverTest and remains in this state during the duration of the test. -
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
virtual_interface_type
instance-attribute
¶
virtual_interface_type: NotRequired[VirtualInterfaceType]
The type of virtual interface. The possible values are private, public and transit.