Skip to content

Delete Transit Gateway Connect

ec2_delete_transit_gateway_connect R Documentation

Deletes the specified Connect attachment

Description

Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.

Usage

ec2_delete_transit_gateway_connect(TransitGatewayAttachmentId, DryRun)

Arguments

TransitGatewayAttachmentId

[required] The ID of the Connect 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(
  TransitGatewayConnect = list(
    TransitGatewayAttachmentId = "string",
    TransportTransitGatewayAttachmentId = "string",
    TransitGatewayId = "string",
    State = "initiating"|"initiatingRequest"|"pendingAcceptance"|"rollingBack"|"pending"|"available"|"modifying"|"deleting"|"deleted"|"failed"|"rejected"|"rejecting"|"failing",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    Options = list(
      Protocol = "gre"
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

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