Class: AWS::IAM::Group

Inherits:
ModelElement show all
Defined in:
lib/cfn-model/model/iam_group.rb

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

Constructor Details

#initializeGroup

Returns a new instance of Group.



9
10
11
12
13
14
# File 'lib/cfn-model/model/iam_group.rb', line 9

def initialize
  @managedPolicyArns = []
  @policies = []
  @policy_objects = []
  @resource_type = 'AWS::IAM::Group'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ModelElement

Instance Attribute Details

#groupNameObject

Returns the value of attribute groupName.



4
5
6
# File 'lib/cfn-model/model/iam_group.rb', line 4

def groupName
  @groupName
end

#managedPolicyArnsObject

Returns the value of attribute managedPolicyArns.



4
5
6
# File 'lib/cfn-model/model/iam_group.rb', line 4

def managedPolicyArns
  @managedPolicyArns
end

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/cfn-model/model/iam_group.rb', line 4

def path
  @path
end

#policiesObject

Returns the value of attribute policies.



4
5
6
# File 'lib/cfn-model/model/iam_group.rb', line 4

def policies
  @policies
end

#policy_objectsObject

synthesized version of policies



7
8
9
# File 'lib/cfn-model/model/iam_group.rb', line 7

def policy_objects
  @policy_objects
end