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.



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

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



5
6
7
# File 'lib/cfn-model/model/iam_user.rb', line 5

def group_names
  @group_names
end

#policy_objectsObject

synthesized version of policies



5
6
7
# File 'lib/cfn-model/model/iam_user.rb', line 5

def policy_objects
  @policy_objects
end