Class: Humidifier::IAM::User

Inherits:
Resource show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::IAM::User resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#groupsObject

returns the Groups property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def groups
  properties['groups']
end

#groups=(value) ⇒ Object

sets the Groups property (List)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def groups=(value)
  update_property('groups', value)
end

#login_profileObject

returns the LoginProfile property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def 
  properties['login_profile']
end

#login_profile=(value) ⇒ Object

sets the LoginProfile property (Structure)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def (value)
  update_property('login_profile', value)
end

#managed_policy_arnsObject

returns the ManagedPolicyArns property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def managed_policy_arns
  properties['managed_policy_arns']
end

#managed_policy_arns=(value) ⇒ Object

sets the ManagedPolicyArns property (List)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def managed_policy_arns=(value)
  update_property('managed_policy_arns', value)
end

#pathObject

returns the Path property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def path
  properties['path']
end

#path=(value) ⇒ Object

sets the Path property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def path=(value)
  update_property('path', value)
end

#permissions_boundaryObject

returns the PermissionsBoundary property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def permissions_boundary
  properties['permissions_boundary']
end

#permissions_boundary=(value) ⇒ Object

sets the PermissionsBoundary property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def permissions_boundary=(value)
  update_property('permissions_boundary', value)
end

#policiesObject

returns the Policies property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def policies
  properties['policies']
end

#policies=(value) ⇒ Object

sets the Policies property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def policies=(value)
  update_property('policies', value)
end

#tagsObject

returns the Tags property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def tags=(value)
  update_property('tags', value)
end

#user_nameObject

returns the UserName property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def user_name
  properties['user_name']
end

#user_name=(value) ⇒ Object

sets the UserName property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def user_name=(value)
  update_property('user_name', value)
end