Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Lambda Function Environment

Environment is a property of the AWS::Lambda::Function resource that specifies key-value pairs that the AWS Lambda (Lambda) function can access so that you can apply configuration changes, such as test and production environment configurations, without changing the function code.

Syntax

JSON

Copy
{ "Variables" : { String:String, ... } }

YAML

Copy
Variables: String: String

Properties

Variables

A map of key-value pairs that the Lambda function can access.

Required: No

Type: Mapping of key-value pairs