Class: Humidifier::IAM::Role
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::IAM::Role resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#assume_role_policy_document ⇒ Object
returns the AssumeRolePolicyDocument property.
-
#assume_role_policy_document=(value) ⇒ Object
sets the AssumeRolePolicyDocument property (Json).
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#managed_policy_arns ⇒ Object
returns the ManagedPolicyArns property.
-
#managed_policy_arns=(value) ⇒ Object
sets the ManagedPolicyArns property (List).
-
#max_session_duration ⇒ Object
returns the MaxSessionDuration property.
-
#max_session_duration=(value) ⇒ Object
sets the MaxSessionDuration property (Integer).
-
#path ⇒ Object
returns the Path property.
-
#path=(value) ⇒ Object
sets the Path property (String).
-
#permissions_boundary ⇒ Object
returns the PermissionsBoundary property.
-
#permissions_boundary=(value) ⇒ Object
sets the PermissionsBoundary property (String).
-
#policies ⇒ Object
returns the Policies property.
-
#policies=(value) ⇒ Object
sets the Policies property (List).
-
#role_name ⇒ Object
returns the RoleName property.
-
#role_name=(value) ⇒ Object
sets the RoleName property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#assume_role_policy_document ⇒ Object
returns the AssumeRolePolicyDocument property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def assume_role_policy_document properties['assume_role_policy_document'] end |
#assume_role_policy_document=(value) ⇒ Object
sets the AssumeRolePolicyDocument property (Json)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def assume_role_policy_document=(value) update_property('assume_role_policy_document', value) end |
#description ⇒ Object
returns the Description property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def description=(value) update_property('description', value) end |
#managed_policy_arns ⇒ Object
returns the ManagedPolicyArns property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def managed_policy_arns properties['managed_policy_arns'] end |
#managed_policy_arns=(value) ⇒ Object
sets the ManagedPolicyArns property (List)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def managed_policy_arns=(value) update_property('managed_policy_arns', value) end |
#max_session_duration ⇒ Object
returns the MaxSessionDuration property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def max_session_duration properties['max_session_duration'] end |
#max_session_duration=(value) ⇒ Object
sets the MaxSessionDuration property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def max_session_duration=(value) update_property('max_session_duration', value) end |
#path ⇒ Object
returns the Path property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def path properties['path'] end |
#path=(value) ⇒ Object
sets the Path property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def path=(value) update_property('path', value) end |
#permissions_boundary ⇒ Object
returns the PermissionsBoundary property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def properties['permissions_boundary'] end |
#permissions_boundary=(value) ⇒ Object
sets the PermissionsBoundary property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def (value) update_property('permissions_boundary', value) end |
#policies ⇒ Object
returns the Policies property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def policies properties['policies'] end |
#policies=(value) ⇒ Object
sets the Policies property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def policies=(value) update_property('policies', value) end |
#role_name ⇒ Object
returns the RoleName property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def role_name properties['role_name'] end |
#role_name=(value) ⇒ Object
sets the RoleName property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def role_name=(value) update_property('role_name', value) end |
#tags ⇒ Object
returns the Tags property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def (value) update_property('tags', value) end |