Delete Direct Connect Gateway Association
directconnect_delete_direct_connect_gateway_association | R Documentation |
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¶
associationId |
The ID of the Direct Connect gateway association. |
directConnectGatewayId |
The ID of the Direct Connect gateway. |
virtualGatewayId |
The 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"
)
)
Request syntax¶
svc$delete_direct_connect_gateway_association(
associationId = "string",
directConnectGatewayId = "string",
virtualGatewayId = "string"
)