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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#association_stateTypes::RouteTableAssociationState

The state of the association.



58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end

#gateway_idString

The ID of the internet gateway or virtual private gateway.

Returns:

  • (String)


58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end

#mainBoolean

Indicates whether this is the main route table.

Returns:

  • (Boolean)


58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end

#route_table_association_idString

The ID of the association.

Returns:

  • (String)


58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end

#route_table_idString

The ID of the route table.

Returns:

  • (String)


58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58723

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id,
  :gateway_id,
  :association_state)
  SENSITIVE = []
  include Aws::Structure
end