Skip to content

Accepts a Transit Gateway attachment request for a Client VPN endpoint

Description

Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.

Usage

ec2_accept_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$accept_transit_gateway_client_vpn_attachment(
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)