Class: Ansible::Ruby::Modules::Ec2_vpc_net
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_net
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb
Overview
Create, modify, and terminate AWS virtual private clouds.
Instance Method Summary collapse
-
#cidr_block ⇒ String
The primary CIDR of the VPC.
-
#dhcp_opts_id ⇒ Object?
The id of the DHCP options to use for this vpc.
-
#dns_hostnames ⇒ Boolean?
Whether to enable AWS hostname support.
-
#dns_support ⇒ Boolean?
Whether to enable AWS DNS support.
-
#multi_ok ⇒ Boolean?
By default the module will not create another VPC if there is another VPC with the same name and CIDR block.
-
#name ⇒ String
The name to give your VPC.
-
#purge_cidrs ⇒ Symbol?
Remove CIDRs that are associated with the VPC and are not specified in C(cidr_block).
-
#state ⇒ :present, ...
The state of the VPC.
-
#tags ⇒ Hash?
The tags you want attached to the VPC.
-
#tenancy ⇒ :default, ...
Whether to be default or dedicated tenancy.
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
#cidr_block ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 16 attribute :cidr_block |
#dhcp_opts_id ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 36 attribute :dhcp_opts_id |
#dns_hostnames ⇒ Boolean?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 32 attribute :dns_hostnames |
#dns_support ⇒ Boolean?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 28 attribute :dns_support |
#multi_ok ⇒ Boolean?
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 47 attribute :multi_ok |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 12 attribute :name |
#purge_cidrs ⇒ Symbol?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 20 attribute :purge_cidrs |
#state ⇒ :present, ...
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 43 attribute :state |
#tags ⇒ Hash?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 39 attribute :tags |
#tenancy ⇒ :default, ...
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_net.rb', line 24 attribute :tenancy |