Class: Jets::Resource::Lambda::GemLayer
Instance Method Summary
collapse
#definition, #layer_version_logical_id, #outputs, #s3_bucket
Methods inherited from Base
#replacements, #resource
Instance Method Details
#code_s3_key ⇒ Object
12
13
14
15
|
# File 'lib/jets/resource/lambda/gem_layer.rb', line 12
def code_s3_key
checksum = Jets::Builders::Md5.checksums["stage/opt"]
"jets/code/opt-#{checksum}.zip" end
|
#description ⇒ Object
3
4
5
|
# File 'lib/jets/resource/lambda/gem_layer.rb', line 3
def description
"Jets Ruby Gems"
end
|
#layer_name ⇒ Object
7
8
9
10
|
# File 'lib/jets/resource/lambda/gem_layer.rb', line 7
def layer_name
"#{Jets.config.short_env}-#{Jets.config.project_name}-gems"
end
|