Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

Route

Describes a route in a route table.

Contents

destinationCidrBlock

The IPv4 CIDR block used for the destination match.

Type: String

Required: No

destinationIpv6CidrBlock

The IPv6 CIDR block used for the destination match.

Type: String

Required: No

destinationPrefixListId

The prefix of the AWS service.

Type: String

Required: No

egressOnlyInternetGatewayId

The ID of the egress-only Internet gateway.

Type: String

Required: No

gatewayId

The ID of a gateway attached to your VPC.

Type: String

Required: No

instanceId

The ID of a NAT instance in your VPC.

Type: String

Required: No

instanceOwnerId

The AWS account ID of the owner of the instance.

Type: String

Required: No

natGatewayId

The ID of a NAT gateway.

Type: String

Required: No

networkInterfaceId

The ID of the network interface.

Type: String

Required: No

origin

Describes how the route was created.

  • CreateRouteTable - The route was automatically created when the route table was created.

  • CreateRoute - The route was manually added to the route table.

  • EnableVgwRoutePropagation - The route was propagated by route propagation.

Type: String

Valid Values: CreateRouteTable | CreateRoute | EnableVgwRoutePropagation

Required: No

state

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

Type: String

Valid Values: active | blackhole

Required: No

vpcPeeringConnectionId

The ID of the VPC peering connection.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: