Skip to content

/AWS1/CL_EC2=>CREATETRANSITGATEWAYCONNECT()

About CreateTransitGatewayConnect

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.

Method Signature

IMPORTING

Required arguments:

IV_TRANSPORTTGWATTACHMENTID TYPE /AWS1/EC2TGWATTACHMENTID /AWS1/EC2TGWATTACHMENTID

The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.

IO_OPTIONS TYPE REF TO /AWS1/CL_EC2CRETGWCNCTREQOPTS /AWS1/CL_EC2CRETGWCNCTREQOPTS

The Connect attachment options.

Optional arguments:

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the Connect attachment.

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_EC2CREATETGWCNCTRSLT /AWS1/CL_EC2CREATETGWCNCTRSLT