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/core/cloud/amazon/ec2_elb.rb
Instance Method Summary collapse
-
#ec2_elbs ⇒ Object?
List of ELB names, required for registration.
-
#enable_availability_zone ⇒ Boolean?
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 ⇒ Boolean?
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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#ec2_elbs ⇒ Object?
Returns List of ELB names, required for registration. The ec2_elbs fact should be used if there was a previous de-register.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 18 attribute :ec2_elbs |
#enable_availability_zone ⇒ Boolean?
Returns Whether to enable the availability zone of the instance on the target ELB if the availability zone has not already been enabled. If set to no, the task will fail if the availability zone is not enabled on the ELB.
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 21 attribute :enable_availability_zone |
#instance_id ⇒ Object
Returns EC2 Instance ID.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 14 attribute :instance_id |
#state ⇒ :present, :absent
Returns register or deregister the instance.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 10 attribute :state |
#validate_certs ⇒ :yes, ...
Returns When set to “no”, SSL certificates will not be validated for boto versions >= 2.6.0.
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 29 attribute :validate_certs |
#wait ⇒ Boolean?
Returns Wait for instance registration or deregistration to complete successfully before returning.
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 25 attribute :wait |
#wait_timeout ⇒ Integer?
Returns Number of seconds to wait for an instance to change state. If 0 then this module may return an error if a transient error occurs. If non-zero then any transient errors are ignored until the timeout is reached. Ignored when wait=no.
33 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_elb.rb', line 33 attribute :wait_timeout |