AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateLocalGatewayRoute operation. Creates a static route for the specified local gateway route table. You must specify one of the following targets:

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z


public class CreateLocalGatewayRouteRequest : AmazonEC2Request

The CreateLocalGatewayRouteRequest type exposes the following members



Public Property DestinationCidrBlock System.String

Gets and sets the property DestinationCidrBlock.

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

Public Property DestinationPrefixListId System.String

Gets and sets the property DestinationPrefixListId.

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

Public Property LocalGatewayRouteTableId System.String

Gets and sets the property LocalGatewayRouteTableId.

The ID of the local gateway route table.

Public Property LocalGatewayVirtualInterfaceGroupId System.String

Gets and sets the property LocalGatewayVirtualInterfaceGroupId.

The ID of the virtual interface group.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5