Class: Ansible::Ruby::Modules::Ec2_vpc_subnet

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#azObject?

Returns The availability zone for the subnet. Only required when state=present.

Returns:

  • (Object, nil)

    The availability zone for the subnet. Only required when state=present.



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 10

attribute :az

#cidrString?

Returns The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present.

Returns:

  • (String, nil)

    The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present.



13
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 13

attribute :cidr

#state:present, ...

Returns Create or remove the subnet.

Returns:

  • (:present, :absent, nil)

    Create or remove the subnet



20
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 20

attribute :state

#tagsObject?

Returns A dict of tags to apply to the subnet. Any tags currently applied to the subnet and not present here will be removed.

Returns:

  • (Object, nil)

    A dict of tags to apply to the subnet. Any tags currently applied to the subnet and not present here will be removed.



17
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 17

attribute :tags

#vpc_idString?

Returns VPC ID of the VPC in which to create the subnet.

Returns:

  • (String, nil)

    VPC ID of the VPC in which to create the subnet.



24
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_subnet.rb', line 24

attribute :vpc_id