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_state ⇒ Types::RouteTableAssociationState

The state of the association.

Returns:

#gateway_id ⇒ String

The ID of the internet gateway or virtual private gateway.

Returns:

  • (String) —

    The ID of the internet gateway or virtual private gateway.

#main ⇒ Boolean

Indicates whether this is the main route table.

Returns:

  • (Boolean) —

    Indicates whether this is the main route table.

#route_table_association_id ⇒ String

The ID of the association.

Returns:

  • (String) —

    The ID of the association.

#route_table_id ⇒ String

The ID of the route table.

Returns:

  • (String) —

    The ID of the route table.

#subnet_id ⇒ String

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

Returns:

  • (String) —

    The ID of the subnet.