Describe Direct Connect Gateway Associations
| directconnect_describe_direct_connect_gateway_associations | R Documentation |
Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways¶
Description¶
Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. You must specify one of the following:
-
A Direct Connect gateway
The response contains all virtual private gateways and transit gateways associated with the Direct Connect gateway.
-
A virtual private gateway
The response contains the Direct Connect gateway.
-
A transit gateway
The response contains the Direct Connect gateway.
-
A Direct Connect gateway and a virtual private gateway
The response contains the association between the Direct Connect gateway and virtual private gateway.
-
A Direct Connect gateway and a transit gateway
The response contains the association between the Direct Connect gateway and transit gateway.
Usage¶
directconnect_describe_direct_connect_gateway_associations(
associationId, associatedGatewayId, directConnectGatewayId, maxResults,
nextToken, virtualGatewayId)
Arguments¶
associationIdThe ID of the Direct Connect gateway association.
associatedGatewayIdThe ID of the associated gateway.
directConnectGatewayIdThe ID of the Direct Connect gateway.
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 provided in the previous call to retrieve the next page.
virtualGatewayIdThe ID of the virtual private gateway or transit gateway.
Value¶
A list with the following syntax:
list(
directConnectGatewayAssociations = list(
list(
directConnectGatewayId = "string",
directConnectGatewayOwnerAccount = "string",
associationState = "associating"|"associated"|"disassociating"|"disassociated"|"updating",
stateChangeError = "string",
associatedGateway = list(
id = "string",
type = "virtualPrivateGateway"|"transitGateway",
ownerAccount = "string",
region = "string"
),
associationId = "string",
allowedPrefixesToDirectConnectGateway = list(
list(
cidr = "string"
)
),
virtualGatewayId = "string",
virtualGatewayRegion = "string",
virtualGatewayOwnerAccount = "string"
)
),
nextToken = "string"
)