| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.Types.Environment
Description
Synopsis
- data Environment = Environment' {}
- newEnvironment :: Environment
- environment_variables :: Lens' Environment (Maybe (HashMap Text Text))
Documentation
data Environment Source #
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.
See: newEnvironment smart constructor.
Constructors
| Environment' | |
Instances
newEnvironment :: Environment Source #
Create a value of Environment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:Environment', environment_variables - Environment variable key-value pairs. For more information, see
Using Lambda environment variables.
environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) Source #
Environment variable key-value pairs. For more information, see Using Lambda environment variables.