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/extras/cloud/amazon/ec2_vpc_subnet.rb
Overview
Manage subnets in AWS virtual private clouds
Instance Method Summary collapse
-
#az ⇒ Object?
The availability zone for the subnet.
-
#cidr ⇒ String?
The CIDR block for the subnet.
-
#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 the subnet.
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
#az ⇒ Object?
Returns The availability zone for the subnet. Only required when state=present.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 11 attribute :az |
#cidr ⇒ String?
Returns The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 14 attribute :cidr |
#state ⇒ :present, ...
Returns Create or remove the subnet.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 21 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.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 18 attribute :tags |
#vpc_id ⇒ String?
Returns VPC ID of the VPC in which to create the subnet.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 25 attribute :vpc_id |