Skip to content

/AWS1/CL_EC2=>REPLACETRANSITGATEWAYROUTE()

About ReplaceTransitGatewayRoute

Replaces the specified route in the specified transit gateway route table.

Method Signature

IMPORTING

Required arguments:

IV_DESTINATIONCIDRBLOCK TYPE /AWS1/EC2STRING /AWS1/EC2STRING

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

IV_TGWROUTETABLEID TYPE /AWS1/EC2TGWROUTETABLEID /AWS1/EC2TGWROUTETABLEID

The ID of the 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 traffic matching this route is to be dropped.

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_EC2RPLTGWROUTERESULT /AWS1/CL_EC2RPLTGWROUTERESULT