Skip to content

vaquarkhan/aws-lambda-with-aws-layers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-layers

What are Lambda Layers?

Lambda Layers are a new type of artifact that can contain arbitrary code and data, and may be referenced by zero, one, or more functions at the same time. Lambda functions in a serverless application typically share common dependencies such as SDKs, frameworks, and now runtimes. With layers, you can centrally manage common components across multiple functions enabling better code reuse.

Lambda Layers have been created to solve this repeated code issue. The way they work is that you deploy your common code into a layer. This can be your common code or NPM packages that you always use. When you connect this layer to one of your Lambdas, you can access all the common code from inside your Lambda.

This means that you don’t have to copy the same file into every Lambda folder or create your own ‘common’ repo that you require.

About

Example of using AWS lambda layers in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages