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¶
associationId |
The ID of the Direct Connect gateway association. |
associatedGatewayId |
The ID of the associated gateway. |
directConnectGatewayId |
The ID of the Direct Connect gateway. |
maxResults |
The maximum number of results to return with a single call. To
retrieve the remaining results, make another call with the returned
If |
nextToken |
The token provided in the previous call to retrieve the next page. |
virtualGatewayId |
The 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"
)
),
associatedCoreNetwork = list(
id = "string",
ownerAccount = "string",
attachmentId = "string"
),
virtualGatewayId = "string",
virtualGatewayRegion = "string",
virtualGatewayOwnerAccount = "string"
)
),
nextToken = "string"
)
Request syntax¶
svc$describe_direct_connect_gateway_associations(
associationId = "string",
associatedGatewayId = "string",
directConnectGatewayId = "string",
maxResults = 123,
nextToken = "string",
virtualGatewayId = "string"
)