Class: Humidifier::KMS::Alias
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::KMS::Alias resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#alias_name ⇒ Object
returns the AliasName property.
-
#alias_name=(value) ⇒ Object
sets the AliasName property (String).
-
#target_key_id ⇒ Object
returns the TargetKeyId property.
-
#target_key_id=(value) ⇒ Object
sets the TargetKeyId property (String).
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
#alias_name ⇒ Object
returns the AliasName property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def alias_name properties['alias_name'] end |
#alias_name=(value) ⇒ Object
sets the AliasName property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def alias_name=(value) update_property('alias_name', value) end |
#target_key_id ⇒ Object
returns the TargetKeyId property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def target_key_id properties['target_key_id'] end |
#target_key_id=(value) ⇒ Object
sets the TargetKeyId property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def target_key_id=(value) update_property('target_key_id', value) end |