Skip to content

/AWS1/CL_EC2=>CREATETRANSITGATEWAYROUTE()

About CreateTransitGatewayRoute

Creates a static route for the specified transit gateway route table.

Method Signature

IMPORTING

Required arguments:

IV_DESTINATIONCIDRBLOCK TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The CIDR range used for destination matches. Routing decisions are based on the most specific match.

IV_TGWROUTETABLEID TYPE /AWS1/EC2TGWROUTETABLEID /AWS1/EC2TGWROUTETABLEID

The ID of the transit gateway route table.

Optional arguments:

IV_TGWATTACHMENTID TYPE /AWS1/EC2TGWATTACHMENTID /AWS1/EC2TGWATTACHMENTID

The ID of the attachment.

IV_BLACKHOLE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether to drop traffic that matches this route.

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_EC2CREATETGWROUTERSLT /AWS1/CL_EC2CREATETGWROUTERSLT