Configuring AWS Lambda functions - AWS Lambda

Configuring AWS Lambda functions

Learn how to configure the core capabilities and options for your Lambda function using the Lambda API or console. These configurations apply to a function deployed as a container image and for a function deployed as a .zip file archive.

Creating layers

You create a layer manage your function's dependencies independently and keep your development package small.

Configuring function options

You can find an overview of how to configure your Lambda function using the console and AWS CLI.

Environment variables

You can make your function code portable and keep secrets out of your code by storing them in your function's configuration by using environment variables.


By publishing a version of your function, you can store your code and configuration as a separate resource that cannot be changed.


You can configure your clients to invoke a specific Lambda function version by using an alias, instead of updating the client.