Class: Ansible::Ruby::Modules::Ec2_vpc_subnet
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_subnet
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb
Overview
Manage subnets in AWS virtual private clouds
Instance Method Summary collapse
-
#assign_instances_ipv6 ⇒ :yes, ...
Specify C(yes) to indicate that instances launched into the subnet should be automatically assigned an IPv6 address.
-
#az ⇒ Object?
The availability zone for the subnet.
-
#cidr ⇒ String?
The CIDR block for the subnet.
-
#ipv6_cidr ⇒ String?
The IPv6 CIDR block for the subnet.
-
#map_public ⇒ :yes, ...
Specify C(yes) to indicate that instances launched into the subnet should be assigned public IP address by default.
-
#purge_tags ⇒ :yes, ...
Whether or not to remove tags that do not appear in the I(tags) list.
-
#state ⇒ :present, ...
Create or remove the subnet.
-
#tags ⇒ Object?
A dict of tags to apply to the subnet.
-
#vpc_id ⇒ String
VPC ID of the VPC in which to create or delete the subnet.
-
#wait ⇒ :yes, ...
When specified,I(state=present) module will wait for subnet to be in available state before continuing.
-
#wait_timeout ⇒ Integer?
Number of seconds to wait for subnet to become available I(wait=True).
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
#assign_instances_ipv6 ⇒ :yes, ...
Returns Specify C(yes) to indicate that instances launched into the subnet should be automatically assigned an IPv6 address.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 38 attribute :assign_instances_ipv6 |
#az ⇒ Object?
Returns The availability zone for the subnet.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 12 attribute :az |
#cidr ⇒ String?
Returns The CIDR block for the subnet. E.g. 192.0.2.0/24.
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 15 attribute :cidr |
#ipv6_cidr ⇒ String?
Returns The IPv6 CIDR block for the subnet. The VPC must have a /56 block assigned and this value must be a valid IPv6 /64 that falls in the VPC range.,Required if I(assign_instances_ipv6=true).
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 19 attribute :ipv6_cidr |
#map_public ⇒ :yes, ...
Returns Specify C(yes) to indicate that instances launched into the subnet should be assigned public IP address by default.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 34 attribute :map_public |
#purge_tags ⇒ :yes, ...
Returns Whether or not to remove tags that do not appear in the I(tags) list.
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 50 attribute :purge_tags |
#state ⇒ :present, ...
Returns Create or remove the subnet.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 26 attribute :state |
#tags ⇒ Object?
Returns A dict of tags to apply to the subnet. Any tags currently applied to the subnet and not present here will be removed.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 23 attribute :tags |
#vpc_id ⇒ String
Returns VPC ID of the VPC in which to create or delete the subnet.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 30 attribute :vpc_id |
#wait ⇒ :yes, ...
Returns When specified,I(state=present) module will wait for subnet to be in available state before continuing.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 42 attribute :wait |
#wait_timeout ⇒ Integer?
Returns Number of seconds to wait for subnet to become available I(wait=True).
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_subnet.rb', line 46 attribute :wait_timeout |