Skip to content

Deletes the specified Connect peer

Description

Deletes the specified Connect peer.

Usage

ec2_delete_transit_gateway_connect_peer(TransitGatewayConnectPeerId,
  DryRun)

Arguments

  • TransitGatewayConnectPeerId

    [required] The ID of the Connect peer.

  • 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(
  TransitGatewayConnectPeer = list(
    TransitGatewayAttachmentId = "string",
    TransitGatewayConnectPeerId = "string",
    State = "pending"|"available"|"deleting"|"deleted",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    ConnectPeerConfiguration = list(
      TransitGatewayAddress = "string",
      PeerAddress = "string",
      InsideCidrBlocks = list(
        "string"
      ),
      Protocol = "gre",
      BgpConfigurations = list(
        list(
          TransitGatewayAsn = 123,
          PeerAsn = 123,
          TransitGatewayAddress = "string",
          PeerAddress = "string",
          BgpStatus = "up"|"down"
        )
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$delete_transit_gateway_connect_peer(
  TransitGatewayConnectPeerId = "string",
  DryRun = TRUE|FALSE
)