Class: Humidifier::IAM::Role

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

Overview

A dynamically-defined class that represents an AWS::IAM::Role 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

#assume_role_policy_documentObject

returns the AssumeRolePolicyDocument property



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

def assume_role_policy_document
  properties['assume_role_policy_document']
end

#assume_role_policy_document=(value) ⇒ Object

sets the AssumeRolePolicyDocument property (Json)



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

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

def description=(value)
  update_property('description', 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

#max_session_durationObject

returns the MaxSessionDuration property



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

def max_session_duration
  properties['max_session_duration']
end

#max_session_duration=(value) ⇒ Object

sets the MaxSessionDuration property (Integer)



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

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

#pathObject

returns the Path property



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

def path
  properties['path']
end

#path=(value) ⇒ Object

sets the Path property (String)



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

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

#permissions_boundaryObject

returns the PermissionsBoundary property



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

def permissions_boundary
  properties['permissions_boundary']
end

#permissions_boundary=(value) ⇒ Object

sets the PermissionsBoundary property (String)



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

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

#policiesObject

returns the Policies property



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

def policies
  properties['policies']
end

#policies=(value) ⇒ Object

sets the Policies property (List)



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

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

#role_nameObject

returns the RoleName property



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

def role_name
  properties['role_name']
end

#role_name=(value) ⇒ Object

sets the RoleName property (String)



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

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

#tagsObject

returns the Tags property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

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