Class: Ansible::Ruby::Modules::Ec2_vpc_route_table
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_route_table
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb
Overview
Manage route tables for AWS virtual private clouds
Instance Method Summary collapse
-
#lookup ⇒ :tag, ...
Look up route table by either tags or by route table ID.
-
#propagating_vgw_ids ⇒ Object?
Enable route propagation from virtual gateways specified by ID.
-
#purge_routes ⇒ :yes, ...
Purge existing routes that are not found in routes.
-
#purge_subnets ⇒ String?
Purge existing subnets that are not found in subnets.
-
#purge_tags ⇒ :yes, ...
Purge existing tags that are not found in route table.
-
#route_table_id ⇒ String?
The ID of the route table to update or delete.
-
#routes ⇒ Array<Hash>, ...
List of routes in the route table.
-
#state ⇒ :present, ...
Create or destroy the VPC route table.
-
#subnets ⇒ Array<String>, ...
An array of subnets to add to this route table.
-
#tags ⇒ Hash?
A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }.
-
#vpc_id ⇒ String
VPC ID of the VPC in which to create the route table.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#lookup ⇒ :tag, ...
Returns Look up route table by either tags or by route table ID. Non-unique tag lookup will fail. If no tags are specified then no lookup for an existing route table is performed and a new route table will be created. To change tags of a route table you must look up by id.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 12 attribute :lookup |
#propagating_vgw_ids ⇒ Object?
Returns Enable route propagation from virtual gateways specified by ID.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 16 attribute :propagating_vgw_ids |
#purge_routes ⇒ :yes, ...
Returns Purge existing routes that are not found in routes.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 19 attribute :purge_routes |
#purge_subnets ⇒ String?
Returns Purge existing subnets that are not found in subnets. Ignored unless the subnets option is supplied.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 23 attribute :purge_subnets |
#purge_tags ⇒ :yes, ...
Returns Purge existing tags that are not found in route table.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 27 attribute :purge_tags |
#route_table_id ⇒ String?
Returns The ID of the route table to update or delete.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 31 attribute :route_table_id |
#routes ⇒ Array<Hash>, ...
Returns List of routes in the route table. Routes are specified as dicts containing the keys ‘dest’ and one of ‘gateway_id’, ‘instance_id’, ‘network_interface_id’, or ‘vpc_peering_connection_id’. If ‘gateway_id’ is specified, you can refer to the VPC’s IGW by using the value ‘igw’. Routes are required for present states.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 35 attribute :routes |
#state ⇒ :present, ...
Returns Create or destroy the VPC route table.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 39 attribute :state |
#subnets ⇒ Array<String>, ...
Returns An array of subnets to add to this route table. Subnets may be specified by either subnet ID, Name tag, or by a CIDR such as ‘10.0.0.0/24’.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 43 attribute :subnets |
#tags ⇒ Hash?
Returns A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }. Tags are used to uniquely identify route tables within a VPC when the route_table_id is not supplied.rn.
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 47 attribute :tags |
#vpc_id ⇒ String
Returns VPC ID of the VPC in which to create the route table.
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_route_table.rb', line 51 attribute :vpc_id |