Skip to content

/AWS1/CL_EC2=>CREATELOCALGATEWAYROUTE()

About CreateLocalGatewayRoute

Creates a static route for the specified local gateway route table. You must specify one of the following targets:

  • LocalGatewayVirtualInterfaceGroupId

  • NetworkInterfaceId

Method Signature

IMPORTING

Required arguments:

IV_LOCALGATEWAYROUTETABLEID TYPE /AWS1/EC2LOCALGWROUTETABLEID /AWS1/EC2LOCALGWROUTETABLEID

The ID of the local gateway route table.

Optional 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_LOCALGWVIRTUALINTERFACE00 TYPE /AWS1/EC2LOCALGWVIRTUALINTER00 /AWS1/EC2LOCALGWVIRTUALINTER00

The ID of the virtual interface group.

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.

IV_NETWORKINTERFACEID TYPE /AWS1/EC2NETWORKINTERFACEID /AWS1/EC2NETWORKINTERFACEID

The ID of the network interface.

IV_DESTINATIONPREFIXLISTID TYPE /AWS1/EC2PREFIXLISTRESOURCEID /AWS1/EC2PREFIXLISTRESOURCEID

The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CRELOCALGWROUTERS /AWS1/CL_EC2CRELOCALGWROUTERS