ImportantTo import a Lambda function that you created to run on AWS IoT Greengrass V1, you must define individual component dependencies for the features that your function uses, such as secrets, local shadows, and stream manager. Define these components as hard dependencies so that your Lambda function component restarts if the dependency changes state. For more information, see Import V1 Lambda functions.
Import a Lambda function (CLI)
Important
You must specify an ARN that includes the version of the function to import. You can't use version aliases like $LATEST.