Deletes the association between the specified Direct Connect gateway and virtual private gateway¶
Description¶
Deletes the association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the associationID to delete the association. Alternatively, if you own virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and directConnectGatewayId to delete an association.
Usage¶
directconnect_delete_direct_connect_gateway_association(associationId,
directConnectGatewayId, virtualGatewayId)
Arguments¶
-
associationIdThe ID of the Direct Connect gateway association.
-
directConnectGatewayIdThe ID of the Direct Connect gateway.
-
virtualGatewayIdThe ID of the virtual private gateway.
Value¶
A list with the following syntax:
list(
directConnectGatewayAssociation = 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"
)
)