Skip to content

Reject Transit Gateway Client Vpn Attachment

ec2_reject_transit_gateway_client_vpn_attachment R Documentation

Rejects a Transit Gateway attachment request for a Client VPN endpoint

Description

Rejects a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner can reject the attachment request to prevent the Client VPN endpoint from routing traffic through the Transit Gateway.

Usage

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