| 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.Greengrass.Types.FunctionConfiguration
Description
Synopsis
- data FunctionConfiguration = FunctionConfiguration' {}
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType)
- functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment)
- functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionRuntimeOverride :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Int)
- functionConfiguration_pinned :: Lens' FunctionConfiguration (Maybe Bool)
- functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Int)
Documentation
data FunctionConfiguration Source #
The configuration of the Lambda function.
See: newFunctionConfiguration smart constructor.
Constructors
| FunctionConfiguration' | |
Fields
| |
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:encodingType:FunctionConfiguration', functionConfiguration_encodingType - The expected encoding type of the input payload for the function. The
default is ''json''.
$sel:environment:FunctionConfiguration', functionConfiguration_environment - The environment configuration of the function.
$sel:execArgs:FunctionConfiguration', functionConfiguration_execArgs - The execution arguments.
$sel:executable:FunctionConfiguration', functionConfiguration_executable - The name of the function executable.
$sel:functionRuntimeOverride:FunctionConfiguration', functionConfiguration_functionRuntimeOverride - The Lambda runtime supported by Greengrass which is to be used instead
of the one specified in the Lambda function.
$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:pinned:FunctionConfiguration', functionConfiguration_pinned - True if the function is pinned. Pinned means the function is long-lived
and starts when the core starts.
$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_encodingType :: Lens' FunctionConfiguration (Maybe EncodingType) Source #
The expected encoding type of the input payload for the function. The default is ''json''.
functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe FunctionConfigurationEnvironment) Source #
The environment configuration of the function.
functionConfiguration_execArgs :: Lens' FunctionConfiguration (Maybe Text) Source #
The execution arguments.
functionConfiguration_executable :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function executable.
functionConfiguration_functionRuntimeOverride :: Lens' FunctionConfiguration (Maybe Text) Source #
The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.
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_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_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.