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

Class: Aws::EC2::Types::RouteTableAssociation

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

Overview

Describes an association between a route table and a subnet or gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#association_stateTypes::RouteTableAssociationState

The state of the association.

Returns:

#gateway_idString

The ID of the internet gateway or virtual private gateway.

Returns:

  • (String)

    The ID of the internet gateway or virtual private gateway.

#mainBoolean

Indicates whether this is the main route table.

Returns:

  • (Boolean)

    Indicates whether this is the main route table.

#route_table_association_idString

The ID of the association.

Returns:

  • (String)

    The ID of the association.

#route_table_idString

The ID of the route table.

Returns:

  • (String)

    The ID of the route table.

#subnet_idString

The ID of the subnet. A subnet ID is not returned for an implicit association.

Returns:

  • (String)

    The ID of the subnet.