Configuring functions

This page was generated from content adapted from the AWS Developer Guide

Configuring function options

  • Note Configuring ephemeral storage past the default 512 MB allocated incurs a cost. For more information, see Lambda pricing.

  • Note Compute Optimizer supports only functions that use x86_64 architecture.

Environment variables

  • Note To increase database security, we recommend that you use AWS Secrets Manager instead of environment variables to store database credentials. For more information, see Configuring database access for a Lambda function.

  • Note In some cases, you may need to use the following format:

  • Note To increase database security, we recommend that you use AWS Secrets Manager instead of environment variables to store database credentials. For more information, see Configuring database access for a Lambda function.

Versions

  • Note Lambda doesn't create a new version if the code in the unpublished version is the same as the previous published version. You need to deploy code changes in $LATEST before you can create a new version.

Creating layers

  • Note For Node.js runtimes, Lambda doesn't currently support ES module dependencies in layers.

  • Note Each time that you call publish-layer-version, you create a new version of the layer.

Last updated