Class: AWS::KMS::Key
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::KMS::Key
- Defined in:
- lib/cfn-model/model/kms_key.rb
Instance Attribute Summary collapse
-
#key_policy ⇒ Object
Returns the value of attribute key_policy.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ Key
constructor
A new instance of Key.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ Key
Returns a new instance of Key.
8 9 10 11 12 |
# File 'lib/cfn-model/model/kms_key.rb', line 8 def initialize(cfn_model) super @key_policy = nil @resource_type = 'AWS::KMS::Key' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#key_policy ⇒ Object
Returns the value of attribute key_policy.
6 7 8 |
# File 'lib/cfn-model/model/kms_key.rb', line 6 def key_policy @key_policy end |