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.
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.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.
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.
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.
/greengrass/v2
/logs/greengrass.log
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
/greengrass/v2
with the path to the Amazon IoT Greengrass root folder.sudo tail -f
/greengrass/v2
/logs/greengrass.log
Changelog
The following table describes the changes in each version of the component.
Version |
Changes |
---|---|
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. |