Class: Humidifier::ApiGateway::UsagePlanKey

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

Overview

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

#key_idObject

returns the KeyId property



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

def key_id
  properties['key_id']
end

#key_id=(value) ⇒ Object

sets the KeyId property (String)



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

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

#key_typeObject

returns the KeyType property



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

def key_type
  properties['key_type']
end

#key_type=(value) ⇒ Object

sets the KeyType property (String)



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

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

#usage_plan_idObject

returns the UsagePlanId property



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

def usage_plan_id
  properties['usage_plan_id']
end

#usage_plan_id=(value) ⇒ Object

sets the UsagePlanId property (String)



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

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