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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#mainBoolean

Indicates whether this is the main route table.

Returns:

  • (Boolean)


20865
20866
20867
20868
20869
20870
20871
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20865

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id)
  include Aws::Structure
end

#route_table_association_idString

The ID of the association between a route table and a subnet.

Returns:

  • (String)


20865
20866
20867
20868
20869
20870
20871
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20865

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id)
  include Aws::Structure
end

#route_table_idString

The ID of the route table.

Returns:

  • (String)


20865
20866
20867
20868
20869
20870
20871
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20865

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id)
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


20865
20866
20867
20868
20869
20870
20871
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20865

class RouteTableAssociation < Struct.new(
  :main,
  :route_table_association_id,
  :route_table_id,
  :subnet_id)
  include Aws::Structure
end