Class: Ansible::Ruby::Modules::Ec2_elb_lb

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

Overview

Returns information about the load balancer. Will be marked changed when called only if state is changed.

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, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#access_logsHash?

Returns An associative array of access logs configuration settings (see example).

Returns:

  • (Hash, nil)

    An associative array of access logs configuration settings (see example)



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

attribute :access_logs

#connection_draining_timeoutInteger?

Returns Wait a specified timeout allowing connections to drain before terminating an instance.

Returns:

  • (Integer, nil)

    Wait a specified timeout allowing connections to drain before terminating an instance



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

attribute :connection_draining_timeout

#cross_az_load_balancing:yes, ...

Returns Distribute load across all configured Availability Zones.

Returns:

  • (:yes, :no, nil)

    Distribute load across all configured Availability Zones



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

attribute :cross_az_load_balancing

#health_checkHash?

Returns An associative array of health check configuration settings (see example).

Returns:

  • (Hash, nil)

    An associative array of health check configuration settings (see example)



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

attribute :health_check

#idle_timeoutInteger?

Returns ELB connections from clients and to servers are timed out after this amount of time.

Returns:

  • (Integer, nil)

    ELB connections from clients and to servers are timed out after this amount of time



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

attribute :idle_timeout

#instance_idsBoolean?

Returns List of instance ids to attach to this ELB.

Returns:

  • (Boolean, nil)

    List of instance ids to attach to this ELB



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

attribute :instance_ids

#listenersArray<Hash>, ...

Returns List of ports/protocols for this ELB to listen on (see example).

Returns:

  • (Array<Hash>, Hash, nil)

    List of ports/protocols for this ELB to listen on (see example)



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

attribute :listeners

#nameString

Returns The name of the ELB.

Returns:

  • (String)

    The name of the ELB



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

attribute :name

#purge_instance_idsBoolean?

Returns Purge existing instance ids on ELB that are not found in instance_ids.

Returns:

  • (Boolean, nil)

    Purge existing instance ids on ELB that are not found in instance_ids



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

attribute :purge_instance_ids

#purge_listenersBoolean?

Returns Purge existing listeners on ELB that are not found in listeners.

Returns:

  • (Boolean, nil)

    Purge existing listeners on ELB that are not found in listeners



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

attribute :purge_listeners

#purge_subnetsBoolean?

Returns Purge existing subnet on ELB that are not found in subnets.

Returns:

  • (Boolean, nil)

    Purge existing subnet on ELB that are not found in subnets



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

attribute :purge_subnets

#purge_zonesBoolean?

Returns Purge existing availability zones on ELB that are not found in zones.

Returns:

  • (Boolean, nil)

    Purge existing availability zones on ELB that are not found in zones



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

attribute :purge_zones

#schemeString?

Returns The scheme to use when creating the ELB. For a private VPC-visible ELB use ‘internal’.

Returns:

  • (String, nil)

    The scheme to use when creating the ELB. For a private VPC-visible ELB use ‘internal’.



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

attribute :scheme

#security_group_idsArray<String>, ...

Returns A list of security groups to apply to the elb.

Returns:

  • (Array<String>, String, nil)

    A list of security groups to apply to the elb



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

attribute :security_group_ids

#security_group_namesObject?

Returns A list of security group names to apply to the elb.

Returns:

  • (Object, nil)

    A list of security group names to apply to the elb



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

attribute :security_group_names

#state:present, :absent

Returns Create or destroy the ELB.

Returns:

  • (:present, :absent)

    Create or destroy the ELB



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

attribute :state

#stickinessHash?

Returns An associative array of stickness policy settings. Policy will be applied to all listeners ( see example ).

Returns:

  • (Hash, nil)

    An associative array of stickness policy settings. Policy will be applied to all listeners ( see example )



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

attribute :stickiness

#subnetsArray<String>, ...

Returns A list of VPC subnets to use when creating ELB. Zones should be empty if using this.

Returns:

  • (Array<String>, String, nil)

    A list of VPC subnets to use when creating ELB. Zones should be empty if using this.



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

attribute :subnets

#tagsHash?

Returns An associative array of tags. To delete all tags, supply an empty dict.

Returns:

  • (Hash, nil)

    An associative array of tags. To delete all tags, supply an empty dict.



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

attribute :tags

#validate_certs:yes, ...

Returns When set to “no”, SSL certificates will not be validated for boto versions >= 2.6.0.

Returns:

  • (:yes, :no, nil)

    When set to “no”, SSL certificates will not be validated for boto versions >= 2.6.0.



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

attribute :validate_certs

#waitBoolean?

Returns When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.

Returns:

  • (Boolean, nil)

    When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.



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

attribute :wait

#wait_timeoutInteger?

Returns Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.

Returns:

  • (Integer, nil)

    Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.



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

attribute :wait_timeout

#zonesArray<String>, ...

Returns List of availability zones to enable on this ELB.

Returns:

  • (Array<String>, String, nil)

    List of availability zones to enable on this ELB



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

attribute :zones