Class: Humidifier::LicenseManager::Grant

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

Overview

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

#allowed_operationsObject

returns the AllowedOperations property



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

def allowed_operations
  properties['allowed_operations']
end

#allowed_operations=(value) ⇒ Object

sets the AllowedOperations property (List)



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

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

#grant_nameObject

returns the GrantName property



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

def grant_name
  properties['grant_name']
end

#grant_name=(value) ⇒ Object

sets the GrantName property (String)



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

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

#home_regionObject

returns the HomeRegion property



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

def home_region
  properties['home_region']
end

#home_region=(value) ⇒ Object

sets the HomeRegion property (String)



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

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

#license_arnObject

returns the LicenseArn property



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

def license_arn
  properties['license_arn']
end

#license_arn=(value) ⇒ Object

sets the LicenseArn property (String)



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

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

#principalsObject

returns the Principals property



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

def principals
  properties['principals']
end

#principals=(value) ⇒ Object

sets the Principals property (List)



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

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

#statusObject

returns the Status property



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

def status
  properties['status']
end

#status=(value) ⇒ Object

sets the Status property (String)



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

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