Class: Ansible::Ruby::Modules::Ec2_elb
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_elb
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb
Overview
This module de-registers or registers an AWS EC2 instance from the ELBs that it belongs to. Returns fact “ec2_elbs” which is a list of elbs attached to the instance if state=absent is passed as an argument. Will be marked changed when called only if there are ELBs found to operate on.
Instance Method Summary collapse
-
#ec2_elbs ⇒ Object?
List of ELB names, required for registration.
-
#enable_availability_zone ⇒ :yes, ...
Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled.
-
#instance_id ⇒ Object
EC2 Instance ID.
-
#state ⇒ :present, :absent
Register or deregister the instance.
-
#validate_certs ⇒ :yes, ...
When set to “no”, SSL certificates will not be validated for boto versions >= 2.6.0.
-
#wait ⇒ :yes, ...
Wait for instance registration or deregistration to complete successfully before returning.
-
#wait_timeout ⇒ Integer?
Number of seconds to wait for an instance to change state.
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
#ec2_elbs ⇒ Object?
22 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 22 attribute :ec2_elbs |
#enable_availability_zone ⇒ :yes, ...
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 25 attribute :enable_availability_zone |
#instance_id ⇒ Object
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 18 attribute :instance_id |
#state ⇒ :present, :absent
14 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 14 attribute :state |
#validate_certs ⇒ :yes, ...
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 33 attribute :validate_certs |
#wait ⇒ :yes, ...
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 29 attribute :wait |
#wait_timeout ⇒ Integer?
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_elb.rb', line 37 attribute :wait_timeout |