Class: Humidifier::IAM::Group

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

Overview

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

#group_nameObject

returns the GroupName property



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

def group_name
  properties['group_name']
end

#group_name=(value) ⇒ Object

sets the GroupName property (String)



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

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

#managed_policy_arnsObject

returns the ManagedPolicyArns property



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

def managed_policy_arns
  properties['managed_policy_arns']
end

#managed_policy_arns=(value) ⇒ Object

sets the ManagedPolicyArns property (List)



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

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

#pathObject

returns the Path property



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

def path
  properties['path']
end

#path=(value) ⇒ Object

sets the Path property (String)



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

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

#policiesObject

returns the Policies property



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

def policies
  properties['policies']
end

#policies=(value) ⇒ Object

sets the Policies property (List)



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

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