Class: Ansible::Ruby::Modules::Ec2_snapshot_facts

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

Overview

Gather facts about ec2 volume snapshots 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

#filtersObject?

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_DescribeSnapshots.html) for possible filters. Filter names and values are case sensitive.

Returns:



21
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_snapshot_facts.rb', line 21

attribute :filters

#owner_idsObject?

Returns If you specify one or more snapshot owners, only snapshots from the specified owners and for which you have access are returned.

Returns:

  • (Object, nil)

    If you specify one or more snapshot owners, only snapshots from the specified owners and for which you have access are returned.



15
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_snapshot_facts.rb', line 15

attribute :owner_ids

#restorable_by_user_idsObject?

Returns If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned.

Returns:

  • (Object, nil)

    If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned.



18
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_snapshot_facts.rb', line 18

attribute :restorable_by_user_ids

#snapshot_idsObject?

Returns If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned.

Returns:

  • (Object, nil)

    If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned.



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

attribute :snapshot_ids