You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::Route

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a route in a route table.

Instance Attribute Summary collapse

Instance Attribute Details

#carrier_gateway_idString

The ID of the carrier gateway.

Returns:

  • (String)

    The ID of the carrier gateway.

#destination_cidr_blockString

The IPv4 CIDR block used for the destination match.

Returns:

  • (String)

    The IPv4 CIDR block used for the destination match.

#destination_ipv_6_cidr_blockString

The IPv6 CIDR block used for the destination match.

Returns:

  • (String)

    The IPv6 CIDR block used for the destination match.

#destination_prefix_list_idString

The prefix of the AWS service.

Returns:

  • (String)

    The prefix of the AWS service.

#egress_only_internet_gateway_idString

The ID of the egress-only internet gateway.

Returns:

  • (String)

    The ID of the egress-only internet gateway.

#gateway_idString

The ID of a gateway attached to your VPC.

Returns:

  • (String)

    The ID of a gateway attached to your VPC.

#instance_idString

The ID of a NAT instance in your VPC.

Returns:

  • (String)

    The ID of a NAT instance in your VPC.

#instance_owner_idString

The AWS account ID of the owner of the instance.

Returns:

  • (String)

    The AWS account ID of the owner of the instance.

#local_gateway_idString

The ID of the local gateway.

Returns:

  • (String)

    The ID of the local gateway.

#nat_gateway_idString

The ID of a NAT gateway.

Returns:

  • (String)

    The ID of a NAT gateway.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#originString

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.

    Possible values:

    • CreateRouteTable
    • CreateRoute
    • EnableVgwRoutePropagation

Returns:

  • (String)

    Describes how the route was created.

#stateString

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).

Possible values:

  • active
  • blackhole

Returns:

  • (String)

    The state of the route.

#transit_gateway_idString

The ID of a transit gateway.

Returns:

  • (String)

    The ID of a transit gateway.

#vpc_peering_connection_idString

The ID of a VPC peering connection.

Returns:

  • (String)

    The ID of a VPC peering connection.