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.
-
#policy_objects ⇒ Object
Returns the value of attribute policy_objects.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ Role
constructor
A new instance of Role.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ Role
Returns a new instance of Role.
8 9 10 11 12 13 14 |
# File 'lib/cfn-model/model/iam_role.rb', line 8 def initialize(cfn_model) super @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 |
#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 |