Class: Ansible::Ruby::Modules::Iam_managed_policy

Inherits:
Base show all
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

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

#make_defaultBoolean?

Returns Make this revision the default revision.

Returns:

  • (Boolean, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#policyArray<String>, ...

Returns A properly json formatted policy.

Returns:

  • (Array<String>, String, nil)

    A properly json formatted policy



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_managed_policy.rb', line 20

attribute :policy

#policy_descriptionString?

Returns A helpful description of this policy, this value is immuteable and only set when creating a new policy.

Returns:

  • (String, nil)

    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_nameString

Returns The name of the managed policy.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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