v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Modifies the specified local gateway route.

get/#Action=ModifyLocalGatewayRoute

Query parameters

DestinationCidrBlockstring

The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

LocalGatewayRouteTableIdstring required

The ID of the local gateway route table.

LocalGatewayVirtualInterfaceGroupIdstring

The ID of the virtual interface group.

NetworkInterfaceIdstring

The ID of the network interface.

DryRunboolean

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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

DestinationPrefixListIdstring

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

Action'ModifyLocalGatewayRoute' required
Version'2016-11-15' required

Response

Success