AWS SDK Version 2 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.

.NET Framework 3.5
 
Container for the parameters to the ReplaceRoute operation. Replaces an existing route within a route table in a VPC. You must provide only one of the following: Internet gateway or virtual private gateway, NAT instance, VPC peering connection, or network interface.

For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.ReplaceRouteRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class ReplaceRouteRequest : AmazonEC2Request
         IRequestEvents

The ReplaceRouteRequest type exposes the following members

Constructors

NameDescription
Public Method ReplaceRouteRequest()

Properties

NameTypeDescription
Public Property DestinationCidrBlock System.String Gets and sets the property DestinationCidrBlock.

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

Public Property GatewayId System.String Gets and sets the property GatewayId.

The ID of an Internet gateway or virtual private gateway.

Public Property InstanceId System.String Gets and sets the property InstanceId.

The ID of a NAT instance in your VPC.

Public Property NetworkInterfaceId System.String Gets and sets the property NetworkInterfaceId.

The ID of a network interface.

Public Property RouteTableId System.String Gets and sets the property RouteTableId.

The ID of the route table.

Public Property VpcPeeringConnectionId System.String Gets and sets the property VpcPeeringConnectionId.

The ID of a VPC peering connection.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8