Class: AWS::IAM::User

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

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #metadata, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

Constructor Details

#initialize(cfn_model) ⇒ User

Returns a new instance of User.



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

def initialize(cfn_model)
  super
  @groups = []
  @policies = []
  @policy_objects = []
  @group_names = []
  @resource_type = 'AWS::IAM::User'
end

Dynamic Method Handling

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

Instance Attribute Details

#group_namesObject

synthesized version of policies



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

def group_names
  @group_names
end

#policy_objectsObject

synthesized version of policies



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

def policy_objects
  @policy_objects
end