End of support notice: On October 7th, 2026, Amazon will discontinue support for Amazon IoT Greengrass Version 1. After October 7th, 2026, you will no longer be able to access the Amazon IoT Greengrass V1 resources. For more information, please visit Migrate from Amazon IoT Greengrass Version 1.
Configure long-lived Lambda functions for Amazon IoT Greengrass
You are now ready to configure your Lambda function for Amazon IoT Greengrass.
In the Amazon IoT console navigation pane, under Manage, expand Greengrass devices, and then choose Groups (V1).
-
Under Greengrass groups, choose the group that you created in Module 2.
-
On the group configuration page, choose the Lambda functions tab, and then under My Lambda functions, choose Add.
-
For Lambda function, choose Greengrass_HelloWorld_Counter.
-
For Lambda function version, choose the alias to the version that you published.
-
For Timeout (seconds), enter
25
. This Lambda function sleeps for 20 seconds before each invocation. -
For Pinned, choose True.
-
Keep the default values for all other fields, and choose Add Lambda function.