Class: Cumulus::IAM::Manager
- Inherits:
-
Object
- Object
- Cumulus::IAM::Manager
- Defined in:
- lib/iam/manager/Manager.rb
Overview
Public: The main class for the IAM management module.
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#roles ⇒ Object
readonly
Returns the value of attribute roles.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize ⇒ Manager
constructor
Public: Constructor.
Constructor Details
#initialize ⇒ Manager
Public: Constructor
19 20 21 22 23 24 25 |
# File 'lib/iam/manager/Manager.rb', line 19 def initialize iam = Aws::IAM::Client.new(Configuration.instance.client) @groups = IamGroups.new(iam) @roles = IamRoles.new(iam) @users = IamUsers.new(iam) end |
Instance Attribute Details
#groups ⇒ Object (readonly)
Returns the value of attribute groups.
14 15 16 |
# File 'lib/iam/manager/Manager.rb', line 14 def groups @groups end |
#roles ⇒ Object (readonly)
Returns the value of attribute roles.
15 16 17 |
# File 'lib/iam/manager/Manager.rb', line 15 def roles @roles end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
16 17 18 |
# File 'lib/iam/manager/Manager.rb', line 16 def users @users end |