Skip to content

Lambda  >  Structures  >  Environment

Environment

Structure Class

Environment dataclass

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 = field(repr=False, default=None)

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