Class: Ansible::Ruby::Modules::Ec2_eip

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

Instance Method Summary collapse

Methods inherited from Base

#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

#device_idString?

Returns The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.

Returns:

  • (String, nil)

    The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.



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

attribute :device_id

#in_vpcBoolean?

Returns allocate an EIP inside a VPC or not.

Returns:

  • (Boolean, nil)

    allocate an EIP inside a VPC or not



21
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 21

attribute :in_vpc

#public_ipObject?

Returns The elastic IP address to associate with the instance.,If absent, allocate a new address.

Returns:

  • (Object, nil)

    The elastic IP address to associate with the instance.,If absent, allocate a new address



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 14

attribute :public_ip

#release_on_disassociationBoolean?

Returns whether or not to automatically release the EIP when it is disassociated.

Returns:

  • (Boolean, nil)

    whether or not to automatically release the EIP when it is disassociated



29
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 29

attribute :release_on_disassociation

#reuse_existing_ip_allowedBoolean?

Returns Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.

Returns:

  • (Boolean, nil)

    Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.



25
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 25

attribute :reuse_existing_ip_allowed

#state:present, ...

Returns If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.

Returns:

  • (:present, :absent, nil)

    If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.



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

attribute :state