Lambda manager
The Lambda manager component (aws.greengrass.LambdaManager
) manages work items and
interprocess communication for Amazon Lambda functions that run on the Greengrass core device.
Note
When you deploy a Lambda function component to a core device, the deployment also includes this component. For more information, see Run Amazon Lambda functions.
Versions
This component has the following versions:
-
2.3.x
-
2.2.x
-
2.1.x
-
2.0.x
Operating system
This component can be installed on Linux core devices only.
Type
This component is a plugin component
(aws.greengrass.plugin
). The Greengrass
nucleus runs this component in the same Java Virtual Machine (JVM) as the nucleus. The
nucleus restarts when you change this component's version on the core device.
This component uses the same log file as the Greengrass nucleus. For more information, see Monitor Amazon IoT Greengrass logs.
For more information, see Component types.
Requirements
This component has the following requirements:
-
Your core device must meet the requirements to run Lambda functions. If you want the core device to run containerized Lambda functions, the device must meet the requirements to do so. For more information, see Lambda function requirements.
-
The Lambda manager component is supported to run in a VPC.
Dependencies
When you deploy a component, Amazon IoT Greengrass also deploys compatible versions of its dependencies. This means that you must meet the requirements for the component and all of its dependencies to successfully deploy the component. This section lists the dependencies for the released versions of this component and the semantic version constraints that define the component versions for each dependency. You can also view the dependencies for each version of the component in the Amazon IoT Greengrass console
For more information about component dependencies, see the component recipe reference.
Configuration
This component provides the following configuration parameters that you can customize when you deploy the component.
logHandlerMode
-
Note
Only for lambda manager versions 2.3.0+
Used to choose the implementation of the Lambda log manager to use. Set the value to
optimized
to use fewer threads to read lambda logs. getResultTimeoutInSecond
-
(Optional) The maximum amount of time in seconds that Lambda functions can run before they time out.
Default:
60
Local log file
This component uses the same log file as the Greengrass nucleus component.
/logs/greengrass.log
/greengrass/v2
To view this component's logs
-
Run the following command on the core device to view this component's log file in real time. Replace
with the path to the Amazon IoT Greengrass root folder./greengrass/v2
sudo tail -f
/logs/greengrass.log/greengrass/v2
Changelog
The following table describes the changes in each version of the component.
Version |
Changes |
---|---|
2.3.5 |
|
2.3.4 |
Version updated for Greengrass nucleus version 2.13.0 release. |
2.3.3 |
|
2.3.2 |
Version updated for Greengrass nucleus version 2.12.0 release. |
2.3.1 |
|
2.3.0 |
|
2.2.11 |
|
2.2.10 |
Version updated for Greengrass nucleus version 2.11.0 release. |
2.2.9 |
|
2.2.8 |
Version updated for Greengrass nucleus version 2.10.0 release. |
2.2.7 |
Version updated for Greengrass nucleus version 2.9.0 release. |
2.2.6 |
Version updated for Greengrass nucleus version 2.8.0 release. |
2.2.5 |
|
2.2.4 |
Version updated for Greengrass nucleus version 2.6.0 release. |
2.2.3 |
|
2.2.2 |
|
2.2.1 |
|
2.2.0 |
|
2.1.4 |
|
2.1.3 |
Version updated for Greengrass nucleus version 2.4.0 release. |
2.1.2 |
Version updated for Greengrass nucleus version 2.3.0 release. |
2.1.1 |
Version updated for Greengrass nucleus version 2.2.0 release. |
2.1.0 |
Version updated for Greengrass nucleus version 2.1.0 release. |
2.0.3 |
Initial version. |