Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data FunctionConfiguration = FunctionConfiguration' {}
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Int)
- functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment)
- functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_pinned :: Lens' FunctionConfiguration (Maybe Bool)
- functionConfiguration_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType)
- functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Int)
Documentation
data FunctionConfiguration Source #
The configuration of the Lambda function.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' | |
|
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The memory size, in KB, which the function requires. This setting is not
applicable and should be cleared when you run the Lambda function
without containerization.
$sel:execArgs:FunctionConfiguration'
, functionConfiguration_execArgs
- The execution arguments.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The environment configuration of the function.
$sel:executable:FunctionConfiguration'
, functionConfiguration_executable
- The name of the function executable.
$sel:pinned:FunctionConfiguration'
, functionConfiguration_pinned
- True if the function is pinned. Pinned means the function is long-lived
and starts when the core starts.
$sel:encodingType:FunctionConfiguration'
, functionConfiguration_encodingType
- The expected encoding type of the input payload for the function. The
default is ''json''.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The allowed function execution time, after which Lambda should terminate
the function. This timeout still applies to pinned Lambda functions for
each request.
functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Int) Source #
The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.
functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text) Source #
The execution arguments.
functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment) Source #
The environment configuration of the function.
functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function executable.
functionConfiguration_pinned :: Lens' FunctionConfiguration (Maybe Bool) Source #
True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
functionConfiguration_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType) Source #
The expected encoding type of the input payload for the function. The default is ''json''.
functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Int) Source #
The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.