amazonka-greengrass-2.0: Amazon Greengrass SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Greengrass.Types.FunctionConfiguration

Description

 
Synopsis

Documentation

data FunctionConfiguration Source #

The configuration of the Lambda function.

See: newFunctionConfiguration smart constructor.

Constructors

FunctionConfiguration' 

Fields

  • encodingType :: Maybe EncodingType

    The expected encoding type of the input payload for the function. The default is ''json''.

  • environment :: Maybe FunctionConfigurationEnvironment

    The environment configuration of the function.

  • execArgs :: Maybe Text

    The execution arguments.

  • executable :: Maybe Text

    The name of the function executable.

  • functionRuntimeOverride :: Maybe Text

    The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.

  • memorySize :: Maybe Int

    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.

  • pinned :: Maybe Bool

    True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.

  • timeout :: Maybe Int

    The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.

Instances

Instances details
FromJSON FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

ToJSON FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

Generic FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

Associated Types

type Rep FunctionConfiguration :: Type -> Type #

Read FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

Show FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

NFData FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

Methods

rnf :: FunctionConfiguration -> () #

Eq FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

Hashable FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

type Rep FunctionConfiguration Source # 
Instance details

Defined in Amazonka.Greengrass.Types.FunctionConfiguration

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_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.