libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.Types.Environment

Description

 
Synopsis

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' 

Fields

Instances

Instances details
Eq Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

Show Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

Generic Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

Associated Types

type Rep Environment :: Type -> Type #

NFData Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

Methods

rnf :: Environment -> () #

Hashable Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

ToJSON Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

type Rep Environment Source # 
Instance details

Defined in Amazonka.Lambda.Types.Environment

type Rep Environment = D1 ('MetaData "Environment" "Amazonka.Lambda.Types.Environment" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "Environment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text (Sensitive Text)))))))

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.