Skip to content

Environment

Structure Class

Environment dataclass

Bases: _SerdeShape

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

Attributes

variables class-attribute instance-attribute
variables: dict[str, str] | None = ...

Environment variable key-value pairs. For more information, see Using Lambda environment variables.