Class: Ansible::Ruby::Modules::Ec2_ami_copy

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#descriptionString?

Returns An optional human-readable string describing the contents and purpose of the new AMI.

Returns:

  • (String, nil)

    An optional human-readable string describing the contents and purpose of the new AMI.



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 22

attribute :description

#nameString?

Returns The name of the new image to copy.

Returns:

  • (String, nil)

    The name of the new image to copy



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

attribute :name

#source_image_idString

Returns the id of the image in source region that should be copied.

Returns:

  • (String)

    the id of the image in source region that should be copied



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 14

attribute :source_image_id

#source_regionString

Returns the source region that AMI should be copied from.

Returns:

  • (String)

    the source region that AMI should be copied from



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 10

attribute :source_region

#tagsHash?

Returns a hash/dictionary of tags to add to the new copied AMI; ‘“key”:“value”’ and ‘“key”:“value”,“key”:“value”’.

Returns:

  • (Hash, nil)

    a hash/dictionary of tags to add to the new copied AMI; ‘“key”:“value”’ and ‘“key”:“value”,“key”:“value”’



34
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 34

attribute :tags

#wait:yes, ...

Returns wait for the copied AMI to be in state ‘available’ before returning.

Returns:

  • (:yes, :no, nil)

    wait for the copied AMI to be in state ‘available’ before returning.



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 26

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 30

attribute :wait_timeout