Class: AWS::IAM::Role
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::IAM::Role
- Defined in:
- lib/cfn-model/model/iam_role.rb
Instance Attribute Summary collapse
-
#assume_role_policy_document ⇒ Object
Returns the value of attribute assume_role_policy_document.
-
#assumeRolePolicyDocument ⇒ Object
Returns the value of attribute assumeRolePolicyDocument.
-
#managedPolicyArns ⇒ Object
Returns the value of attribute managedPolicyArns.
-
#path ⇒ Object
Returns the value of attribute path.
-
#policies ⇒ Object
Returns the value of attribute policies.
-
#policy_objects ⇒ Object
Returns the value of attribute policy_objects.
-
#roleName ⇒ Object
Returns the value of attribute roleName.
Attributes inherited from ModelElement
#logical_resource_id, #resource_type
Instance Method Summary collapse
-
#initialize ⇒ Role
constructor
A new instance of Role.
Methods inherited from ModelElement
Constructor Details
#initialize ⇒ Role
Returns a new instance of Role.
8 9 10 11 12 13 |
# File 'lib/cfn-model/model/iam_role.rb', line 8 def initialize @policies = [] @managedPolicyArns = [] @policy_objects = [] @resource_type = 'AWS::IAM::Role' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#assume_role_policy_document ⇒ Object
Returns the value of attribute assume_role_policy_document.
6 7 8 |
# File 'lib/cfn-model/model/iam_role.rb', line 6 def assume_role_policy_document @assume_role_policy_document end |
#assumeRolePolicyDocument ⇒ Object
Returns the value of attribute assumeRolePolicyDocument.
4 5 6 |
# File 'lib/cfn-model/model/iam_role.rb', line 4 def assumeRolePolicyDocument @assumeRolePolicyDocument end |
#managedPolicyArns ⇒ Object
Returns the value of attribute managedPolicyArns.
4 5 6 |
# File 'lib/cfn-model/model/iam_role.rb', line 4 def managedPolicyArns @managedPolicyArns end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/cfn-model/model/iam_role.rb', line 4 def path @path end |
#policies ⇒ Object
Returns the value of attribute policies.
4 5 6 |
# File 'lib/cfn-model/model/iam_role.rb', line 4 def policies @policies end |
#policy_objects ⇒ Object
Returns the value of attribute policy_objects.
6 7 8 |
# File 'lib/cfn-model/model/iam_role.rb', line 6 def policy_objects @policy_objects end |
#roleName ⇒ Object
Returns the value of attribute roleName.
4 5 6 |
# File 'lib/cfn-model/model/iam_role.rb', line 4 def roleName @roleName end |