Class: CloudFormation::LayerGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/svrless/generators/cloud_formation/layer_generator.rb

Overview

Generates a hash representation of a AWS::Serverless::LayerVersion

Instance Method Summary collapse

Instance Method Details

#hash_representationObject

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