Class: Ansible::Ruby::Modules::Ec2_ami_copy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_ami_copy
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb
Instance Method Summary collapse
-
#description ⇒ String?
An optional human-readable string describing the contents and purpose of the new AMI.
-
#name ⇒ String?
The name of the new image to copy.
-
#source_image_id ⇒ String
The id of the image in source region that should be copied.
-
#source_region ⇒ String
The source region that AMI should be copied from.
-
#tags ⇒ Hash?
A hash/dictionary of tags to add to the new copied AMI; ‘“key”:“value”’ and ‘“key”:“value”,“key”:“value”’.
-
#wait ⇒ :yes, ...
Wait for the copied AMI to be in state ‘available’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
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
#description ⇒ String?
Returns 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 |
#name ⇒ String?
Returns 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_id ⇒ String
Returns 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_region ⇒ String
Returns 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 |
#tags ⇒ Hash?
Returns 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.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_ami_copy.rb', line 26 attribute :wait |
#wait_timeout ⇒ Integer?
Returns 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 |