Class: Ansible::Ruby::Modules::Ec2_asg_facts

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

Overview

Gather facts about ec2 Auto Scaling Groups (ASGs) in AWS

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#nameString?

Returns The prefix or name of the auto scaling group(s) you are searching for.,Note: This is a regular expression match with implicit ‘^’ (beginning of string). Append ‘$’ for a complete name match.

Returns:

  • (String, nil)

    The prefix or name of the auto scaling group(s) you are searching for.,Note: This is a regular expression match with implicit ‘^’ (beginning of string). Append ‘$’ for a complete name match.



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

attribute :name

#tagsHash?

Returns A dictionary/hash of tags in the format { tag1_name: ‘tag1_value’, tag2_name: ‘tag2_value’ } to match against the auto scaling group(s) you are searching for.rn.

Returns:

  • (Hash, nil)

    A dictionary/hash of tags in the format { tag1_name: ‘tag1_value’, tag2_name: ‘tag2_value’ } to match against the auto scaling group(s) you are searching for.rn



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

attribute :tags