Class: Ansible::Ruby::Modules::Iam_user
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iam_user
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/iam_user.rb
Overview
Manage AWS IAM users
Instance Method Summary collapse
-
#managed_policy ⇒ Array<String>, ...
A list of managed policy ARNs or friendly names to attach to the user.
-
#name ⇒ String
The name of the user to create.
-
#purge_policy ⇒ Boolean?
Detach policies which are not included in managed_policy list.
-
#state ⇒ :present, :absent
Create or remove the IAM user.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#managed_policy ⇒ Array<String>, ...
Returns A list of managed policy ARNs or friendly names to attach to the user. To embed an inline policy, use M(iam_policy).
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_user.rb', line 16 attribute :managed_policy |
#name ⇒ String
Returns The name of the user to create.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_user.rb', line 12 attribute :name |
#purge_policy ⇒ Boolean?
Returns Detach policies which are not included in managed_policy list.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_user.rb', line 24 attribute :purge_policy |
#state ⇒ :present, :absent
Returns Create or remove the IAM user.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_user.rb', line 20 attribute :state |