Skip to content

Deletes a Transit Gateway attachment for a Client VPN endpoint

Description

Deletes a Transit Gateway attachment for a Client VPN endpoint. The Transit Gateway owner can delete the attachment to remove the association between the Client VPN endpoint and the Transit Gateway.

Usage

ec2_delete_transit_gateway_client_vpn_attachment(
  TransitGatewayAttachmentId, DryRun)

Arguments

  • TransitGatewayAttachmentId

    [required] The ID of the Transit Gateway attachment.

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  TransitGatewayClientVpnAttachment = list(
    TransitGatewayAttachmentId = "string",
    TransitGatewayId = "string",
    ClientVpnEndpointId = "string",
    ClientVpnOwnerId = "string",
    State = "pending-acceptance"|"pending"|"rejected"|"available"|"deleting"|"deleted",
    CreationTime = "string"
  )
)

Request syntax

svc$delete_transit_gateway_client_vpn_attachment(
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)