Class: Ansible::Ruby::Modules::Iam_managed_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iam_managed_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb
Overview
Allows creating and removing managed IAM policies
Instance Method Summary collapse
-
#make_default ⇒ Boolean?
Make this revision the default revision.
-
#only_version ⇒ :yes, ...
Remove all other non default revisions, if this is used with C(make_default) it will result in all other versions of this policy being deleted.
-
#policy ⇒ Array<String>, ...
A properly json formatted policy.
-
#policy_description ⇒ String?
A helpful description of this policy, this value is immuteable and only set when creating a new policy.
-
#policy_name ⇒ String
The name of the managed policy.
-
#state ⇒ :present, ...
Should this managed policy be present or absent.
Methods inherited from Base
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
#make_default ⇒ Boolean?
Returns Make this revision the default revision.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 24 attribute :make_default |
#only_version ⇒ :yes, ...
Returns Remove all other non default revisions, if this is used with C(make_default) it will result in all other versions of this policy being deleted.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 28 attribute :only_version |
#policy ⇒ Array<String>, ...
Returns A properly json formatted policy.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 20 attribute :policy |
#policy_description ⇒ String?
Returns A helpful description of this policy, this value is immuteable and only set when creating a new policy.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 16 attribute :policy_description |
#policy_name ⇒ String
Returns The name of the managed policy.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 12 attribute :policy_name |
#state ⇒ :present, ...
Returns Should this managed policy be present or absent. Set to absent to detach all entities from this policy and remove it if found.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 32 attribute :state |