Replaces an existing route within a route table in a VPC.
![](../icons/collapse_all.gif)
C# |
public class ReplaceRouteRequest : EC2Request
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | ReplaceRouteRequest()()()() | Initializes a new instance of the ReplaceRouteRequest class |
![]() | DestinationCidrBlock |
The CIDR address block used for the destination match.
For example: 0.0.0.0/0.
The value you provide must match the CIDR of an
existing route in the table.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GatewayId |
The ID of a gateway attached to your VPC.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | InstanceId |
The ID of a NAT instance in your VPC.
|
![]() | IsSetDestinationCidrBlock()()()() |
Checks if DestinationCidrBlock property is set
|
![]() | IsSetGatewayId()()()() |
Checks if GatewayId property is set
|
![]() | IsSetInstanceId()()()() |
Checks if InstanceId property is set
|
![]() | IsSetNetworkInterfaceId()()()() |
Checks if the NetworkInterfaceId property is set
|
![]() | IsSetRouteTableId()()()() |
Checks if RouteTableId property is set
|
![]() | IsSetVpcPeeringConnectionId()()()() |
Checks if VpcPeeringConnectionId is set
|
![]() | NetworkInterfaceId |
Network Interface ID to allow routing to network interface attachments.
|
![]() | RouteTableId |
The ID of the route table where the route will be replaced.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | VpcPeeringConnectionId |
The ID of a VPC peering connection.
|
![]() | WithDestinationCidrBlock(String) | Obsolete.
Sets the CIDR address block used for the destination match.
|
![]() | WithGatewayId(String) | Obsolete.
Sets the ID of a gateway attached to your VPC.
|
![]() | WithInstanceId(String) | Obsolete.
Sets the ID of a NAT instance in your VPC.
|
![]() | WithNetworkInterfaceId(String) | Obsolete.
Sets the Network Interface ID to allow routing to network interface attachments.
|
![]() | WithRouteTableId(String) | Obsolete.
Sets the ID of the route table where the route will be replaced.
|
![]() | WithVpcPeeringConnectionId(String) | Obsolete.
Sets the VpcPeeringConnectionId
The VpcPeeringConnectionId. |
![](../icons/collapse_all.gif)
For more information about route tables, go to Route Tables
in the Amazon Virtual Private Cloud User Guide.
![](../icons/collapse_all.gif)
Object | ||
![]() | EC2Request | |
![]() | ReplaceRouteRequest |