Class: CloudFormation::LayerGenerator
- Inherits:
-
Object
- Object
- CloudFormation::LayerGenerator
- Defined in:
- lib/svrless/generators/cloud_formation/layer_generator.rb
Overview
Generates a hash representation of a AWS::Serverless::LayerVersion
Instance Method Summary collapse
-
#hash_representation ⇒ Object
TODO: allow naming overrides via initialize.
Instance Method Details
#hash_representation ⇒ Object
TODO: allow naming overrides via initialize
10 11 12 13 14 15 16 17 |
# File 'lib/svrless/generators/cloud_formation/layer_generator.rb', line 10 def hash_representation { svrless_layer: { type: "AWS::Serverless::LayerVersion", properties: hash_properties } } end |