Class: Ansible::Ruby::Modules::Ec2_eip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_eip
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb
Overview
This module associates AWS EC2 elastic IP addresses with instances
Instance Method Summary collapse
-
#device_id ⇒ String?
The id of the device for the EIP.
-
#in_vpc ⇒ Boolean?
Allocate an EIP inside a VPC or not.
-
#public_ip ⇒ Object?
The elastic IP address to associate with the instance.,If absent, allocate a new address.
-
#release_on_disassociation ⇒ Boolean?
Whether or not to automatically release the EIP when it is disassociated.
-
#reuse_existing_ip_allowed ⇒ Boolean?
Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.
-
#state ⇒ :present, ...
If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.
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
#device_id ⇒ String?
Returns The id of the device for the EIP. Can be an EC2 Instance id or Elastic Network Interface (ENI) id.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 11 attribute :device_id |
#in_vpc ⇒ Boolean?
Returns allocate an EIP inside a VPC or not.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 22 attribute :in_vpc |
#public_ip ⇒ Object?
Returns The elastic IP address to associate with the instance.,If absent, allocate a new address.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 15 attribute :public_ip |
#release_on_disassociation ⇒ Boolean?
Returns whether or not to automatically release the EIP when it is disassociated.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 30 attribute :release_on_disassociation |
#reuse_existing_ip_allowed ⇒ Boolean?
Returns Reuse an EIP that is not associated to an instance (when available), instead of allocating a new one.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 26 attribute :reuse_existing_ip_allowed |
#state ⇒ :present, ...
Returns If present, associate the IP with the instance.,If absent, disassociate the IP with the instance.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_eip.rb', line 18 attribute :state |