Creates a new route in a route table within a VPC. The route's target can be either a gateway attached to the VPC or a NAT instance in the VPC.
public class CreateRouteRequest : EC2Request
Initializes a new instance of theclass
The CIDR address block used for the destination match.
The ID of a gateway attached to your VPC.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
The ID of a NAT instance in your VPC.
Checks if DestinationCidrBlock property is set
Checks if GatewayId property is set
Checks if InstanceId property is set
Checks if the NetworkInterfaceId property is set
Checks if RouteTableId property is set
Checks if VpcPeeringConnectionId is set
Allows the routing of network interface IDs.
Exactly one interface must be attached when specifying an instance ID or it fails. Value provided must be one of the following: GatewayID, InstanceID, or NetworkdInterfaceId.
The ID of the route table where the route will be added.
Returns a string that represents the current object.(Inherited from Object.)
The ID of a VPC peering connection.
Sets the CIDR address block used for the destination match.
Sets the ID of a gateway attached to your VPC.
Sets the ID of a NAT instance in your VPC.
Sets the network interface id.
Sets the ID of the route table where the route will be added.
Sets the VpcPeeringConnectionId The VpcPeeringConnectionId.
AWSSDK (Module: AWSSDK) Version: 18.104.22.168 (22.214.171.124)
When determining how to route traffic, we use the route with the most specific match. For example, let's say the traffic is destined for 192.0.2.3, and the route table includes the following two routes: 192.0.2.0/24 (goes to some target A) 192.0.2.0/28 (goes to some target B) Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list is more specific, so we use that route to determine where to target the traffic. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.