Skip to content

/AWS1/CL_EC2=>CREATETGWCONNECTPEER()

About CreateTransitGatewayConnectPeer

Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance.

The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

For more information, see Connect peers in the Amazon Web Services Transit Gateways Guide.

Method Signature

IMPORTING

Required arguments:

IV_TGWATTACHMENTID TYPE /AWS1/EC2TGWATTACHMENTID /AWS1/EC2TGWATTACHMENTID

The ID of the Connect attachment.

IV_PEERADDRESS TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.

IT_INSIDECIDRBLOCKS TYPE /AWS1/CL_EC2INSIDECIDRBLKSST00=>TT_INSIDECIDRBLOCKSSTRINGLIST TT_INSIDECIDRBLOCKSSTRINGLIST

The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the 169.254.0.0/16 range. The first address from the range must be configured on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8 range.

Optional arguments:

IV_TRANSITGATEWAYADDRESS TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.

IO_BGPOPTIONS TYPE REF TO /AWS1/CL_EC2TGWCNCTREQBGPOPTS /AWS1/CL_EC2TGWCNCTREQBGPOPTS

The BGP options for the Connect peer.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the Connect peer.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CRETGWCNCTPEERRSLT /AWS1/CL_EC2CRETGWCNCTPEERRSLT