Class: Ansible::Ruby::Modules::Ec2_ami_facts

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

Overview

Gather facts about ec2 AMIs

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

#describe_image_attributesSymbol?

Returns Describe attributes (like launchPermission) of the images found.

Returns:

  • (Symbol, nil)

    Describe attributes (like launchPermission) of the images found.



27
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_ami_facts.rb', line 27

attribute :describe_image_attributes

#executable_usersObject?

Returns Filter images by users with explicit launch permissions. Valid options are an AWS account ID, self, or all (public AMIs).

Returns:

  • (Object, nil)

    Filter images by users with explicit launch permissions. Valid options are an AWS account ID, self, or all (public AMIs).



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

attribute :executable_users

#filtersHash?

Returns A dict of filters to apply. Each dict item consists of a filter key and a filter value.,See U(docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html) for possible filters.,Filter names and values are case sensitive.

Returns:



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

attribute :filters

#image_idsString?

Returns One or more image IDs.

Returns:

  • (String, nil)

    One or more image IDs.



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

attribute :image_ids

#ownersString?

Returns Filter the images by the owner. Valid options are an AWS account ID, self,,or an AWS owner alias ( amazon | aws-marketplace | microsoft ).

Returns:

  • (String, nil)

    Filter the images by the owner. Valid options are an AWS account ID, self,,or an AWS owner alias ( amazon | aws-marketplace | microsoft ).



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

attribute :owners