You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::RouteTable
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::EC2::RouteTable
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
-
#owner_id ⇒ String
readonly
The ID of the AWS account that owns the route table.
-
#propagating_vgws ⇒ Array<Types::PropagatingVgw>
readonly
Any virtual private gateway (VGW) propagating routes.
-
#route_table_id ⇒ String
readonly
The ID of the route table.
-
#tags ⇒ Array<Types::Tag>
readonly
Any tags assigned to the route table.
-
#vpc_id ⇒ String
readonly
The ID of the VPC.
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#associate_with_subnet(options = {}) ⇒ RouteTableAssociation
-
#associations ⇒ Array<RouteTableAssociation>?
-
#create_route(options = {}) ⇒ Route
-
#create_tags(options = {}) ⇒ Array<Tag>
-
#delete(options = {}) ⇒ Struct
Deletes the specified route table.
-
#delete_tags(options = {}) ⇒ Array<Tag>
-
#initialize ⇒ Object
constructor
-
#routes ⇒ Array<Route>?
-
#vpc ⇒ Vpc?
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#id ⇒ String (readonly)
#owner_id ⇒ String (readonly)
The ID of the AWS account that owns the route table.
#propagating_vgws ⇒ Array<Types::PropagatingVgw> (readonly)
Any virtual private gateway (VGW) propagating routes.
#route_table_id ⇒ String (readonly)
The ID of the route table.
#tags ⇒ Array<Types::Tag> (readonly)
Any tags assigned to the route table.
#vpc_id ⇒ String (readonly)
The ID of the VPC.
Instance Method Details
#associate_with_subnet(options = {}) ⇒ RouteTableAssociation
#associations ⇒ Array<RouteTableAssociation>?
#create_route(options = {}) ⇒ Route
#create_tags(options = {}) ⇒ Array<Tag>
#delete(options = {}) ⇒ Struct
Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.