Environment variables
AWS Lambda supports configuring environment variables for your Lambda function, which enables you to dynamically pass settings to your Lambda function code without having to make changes to your code. Environment variables for your Lambda function are key-value pairs that you can set or modify, as they are configuration settings of your Lambda function. The AWS Lambda platform then makes these Environment variable key-value pairs available to your AWS Lambda function code during execution, and you can access them using the standard APIs to access Environment variables that are supported by the language runtime. For example, to access Environment variables in Node.js, you will use process.env in your Lambda function. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access