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