Displays all virtual interfaces for an Amazon Web Services account¶
Description¶
Displays all virtual interfaces for an Amazon Web Services account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned.
A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network.
- If you're using an
asn, the response includes the ASN value in both theasnandasnLongfields. - If you're using
asnLong, the response returns a value of0(zero) for theasnattribute because it exceeds the highest ASN value of 2,147,483,647 that it can support
Usage¶
Arguments¶
-
connectionIdThe ID of the connection.
-
virtualInterfaceIdThe ID of the virtual interface.
-
maxResultsThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned. -
nextTokenThe token for the next page of results.
Value¶
A list with the following syntax:
list(
virtualInterfaces = list(
list(
ownerAccount = "string",
virtualInterfaceId = "string",
location = "string",
connectionId = "string",
virtualInterfaceType = "string",
virtualInterfaceName = "string",
vlan = 123,
asn = 123,
asnLong = 123,
amazonSideAsn = 123,
authKey = "string",
amazonAddress = "string",
customerAddress = "string",
addressFamily = "ipv4"|"ipv6",
virtualInterfaceState = "confirming"|"verifying"|"pending"|"available"|"down"|"testing"|"deleting"|"deleted"|"rejected"|"unknown",
customerRouterConfig = "string",
mtu = 123,
jumboFrameCapable = TRUE|FALSE,
virtualGatewayId = "string",
directConnectGatewayId = "string",
routeFilterPrefixes = list(
list(
cidr = "string"
)
),
bgpPeers = list(
list(
bgpPeerId = "string",
asn = 123,
asnLong = 123,
authKey = "string",
addressFamily = "ipv4"|"ipv6",
amazonAddress = "string",
customerAddress = "string",
bgpPeerState = "verifying"|"pending"|"available"|"deleting"|"deleted",
bgpStatus = "up"|"down"|"unknown",
awsDeviceV2 = "string",
awsLogicalDeviceId = "string"
)
),
region = "string",
awsDeviceV2 = "string",
awsLogicalDeviceId = "string",
tags = list(
list(
key = "string",
value = "string"
)
),
siteLinkEnabled = TRUE|FALSE,
prefixPoolAllocatedCountIpv4 = 123,
prefixPoolAllocatedCountIpv6 = 123,
rateLimit = "string"
)
),
nextToken = "string"
)