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/extras/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.
-
#route_table_id ⇒ Object?
The ID of the route table to update or delete.
-
#routes ⇒ Array<Hash>, Hash
List of routes in the route table.
-
#state ⇒ :present, ...
Create or destroy the VPC route table.
-
#subnets ⇒ Array<String>, 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, #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 specifed 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.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 11 attribute :lookup |
#propagating_vgw_ids ⇒ Object?
Returns Enable route propagation from virtual gateways specified by ID.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 15 attribute :propagating_vgw_ids |
#route_table_id ⇒ Object?
Returns The ID of the route table to update or delete.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 18 attribute :route_table_id |
#routes ⇒ Array<Hash>, 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’, ‘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’.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 21 attribute :routes |
#state ⇒ :present, ...
Returns Create or destroy the VPC route table.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 25 attribute :state |
#subnets ⇒ Array<String>, 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’.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 29 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.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 33 attribute :tags |
#vpc_id ⇒ String
Returns VPC ID of the VPC in which to create the route table.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 37 attribute :vpc_id |