AWS SDK for .NET Documentation
Route Class
AmazonAmazon.EC2.ModelRoute Did this page help you?   Yes   No    Tell us about it...
Route description
Declaration Syntax
C#
public class Route
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Route()()()()
Initializes a new instance of the Route class

DestinationCidrBlock
The CIDR address block used for the destination match. For example: 0.0.0.0/0.

Equals(Object)
Determines whether the specified Object is equal to the current 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.

InstanceOwnerId
The owner of the instance.

IsSetDestinationCidrBlock()()()()
Checks if DestinationCidrBlock property is set

IsSetGatewayId()()()()
Checks if GatewayId property is set

IsSetInstanceId()()()()
Checks if InstanceId property is set

IsSetInstanceOwnerId()()()()
Checks if the InstanceOwnerId property is set

IsSetNetworkInterfaceId()()()()
Checks if the NetworkInterfaceId property is set

IsSetOrigin()()()()
Checks if Origin is set

IsSetState()()()()
Checks if State property is set

IsSetVpcPeeringConnectionId()()()()
Checks if VpcPeeringConnectionId is set

NetworkInterfaceId
The network interface ID.

Origin
Describes how the route was created.
  • CreateRouteTable indicates that route was automatically created when the route table was created.
  • CreateRoute indicates that the route was manually added to the route table.
  • EnableVgwRoutePropagation indicates that the route was propagated by route propagation.

Constraints:

Allowed Values
CreateRouteTable, CreateRoute, EnableVgwRoutePropagation


State
The state of the route. The blackhole state indicates that the route's target isn't available (e.g., the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, etc.).

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcPeeringConnectionId
The ID of the 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.

WithInstanceOwnerId(String) Obsolete.
Sets the owner of the instance.

WithNetworkInterfaceId(String) Obsolete.
Sets the network interface ID.

WithOrigin(String) Obsolete.
Sets the Origin The Origin.

WithState(String) Obsolete.
Sets the state of the route.

WithVpcPeeringConnectionId(String) Obsolete.
Sets the VpcPeeringConnectionId The VpcPeeringConnectionId.

Inheritance Hierarchy
Object
Route

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)