Class: Ansible::Ruby::Modules::Ec2_tag
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_tag
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_tag.rb
Instance Method Summary collapse
-
#resource ⇒ String
The EC2 resource id.
-
#state ⇒ :present, ...
Whether the tags should be present or absent on the resource.
-
#tags ⇒ Object
A hash/dictionary of tags to add to the resource; ‘“key”:“value”’ and ‘“key”:“value”,“key”:“value”’.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#resource ⇒ String
Returns The EC2 resource id.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_tag.rb', line 10 attribute :resource |
#state ⇒ :present, ...
Returns Whether the tags should be present or absent on the resource. Use list to interrogate the tags of an instance.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_tag.rb', line 14 attribute :state |
#tags ⇒ Object
Returns a hash/dictionary of tags to add to the resource; ‘“key”:“value”’ and ‘“key”:“value”,“key”:“value”’.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_tag.rb', line 18 attribute :tags |