Class: Ansible::Ruby::Modules::Ec2_ami_find
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_ami_find
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb
Instance Method Summary collapse
-
#ami_id ⇒ Object?
An AMI ID to match.
-
#ami_tags ⇒ Hash?
A hash/dictionary of tags to match for the AMI.
-
#architecture ⇒ Object?
An architecture type to match (e.g. x86_64).
-
#hypervisor ⇒ Object?
A hypervisor type type to match (e.g. xen).
-
#is_public ⇒ :yes, ...
Whether or not the image(s) are public.
-
#name ⇒ String?
An AMI name to match.
-
#no_result_action ⇒ :success, ...
What to do when no results are found.,‘success’ reports success and returns an empty array,‘fail’ causes the module to report failure.
-
#owner ⇒ String?
Search AMIs owned by the specified owner,Can specify an AWS account ID, or one of the special IDs ‘self’, ‘amazon’ or ‘aws-marketplace’,If not specified, all EC2 AMIs in the specified region will be searched.,You can include wildcards in many of the search options.
-
#platform ⇒ Object?
Platform type to match.
-
#region ⇒ Object
The AWS region to use.
-
#sort ⇒ :name, ...
Optional attribute which with to sort the results.,If specifying ‘tag’, the ‘tag_name’ parameter is required.,Starting at version 2.1, additional sort choices of architecture, block_device_mapping, creationDate, hypervisor, is_public, location, owner_id, platform, root_device_name, root_device_type, state, and virtualization_type are supported.
-
#sort_end ⇒ Integer?
Which result to end with (when sorting).,Corresponds to Python slice notation.
-
#sort_order ⇒ :ascending, ...
Order in which to sort results.,Only used when the ‘sort’ parameter is specified.
-
#sort_start ⇒ Object?
Which result to start with (when sorting).,Corresponds to Python slice notation.
-
#sort_tag ⇒ Object?
Tag name with which to sort results.,Required when specifying ‘sort=tag’.
-
#state ⇒ String?
AMI state to match.
-
#virtualization_type ⇒ Object?
Virtualization type to match (e.g. hvm).
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
#ami_id ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 18 attribute :ami_id |
#ami_tags ⇒ Hash?
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 21 attribute :ami_tags |
#architecture ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 25 attribute :architecture |
#hypervisor ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 28 attribute :hypervisor |
#is_public ⇒ :yes, ...
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 31 attribute :is_public |
#name ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 35 attribute :name |
#no_result_action ⇒ :success, ...
67 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 67 attribute :no_result_action |
#owner ⇒ String?
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 14 attribute :owner |
#platform ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 39 attribute :platform |
#region ⇒ Object
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 10 attribute :region |
#sort ⇒ :name, ...
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 42 attribute :sort |
#sort_end ⇒ Integer?
56 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 56 attribute :sort_end |
#sort_order ⇒ :ascending, ...
49 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 49 attribute :sort_order |
#sort_start ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 53 attribute :sort_start |
#sort_tag ⇒ Object?
46 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 46 attribute :sort_tag |
#state ⇒ String?
60 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 60 attribute :state |
#virtualization_type ⇒ Object?
64 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_ami_find.rb', line 64 attribute :virtualization_type |