Build a Lambda deployment package for Node.js

4. Enter a name for the .zip file. Upload and verify the deployment package. 1. In the Lambda console, choose your function. 2. Under Function code, for Code entry type, choose Upload a .zip file. 3. Under Function package, choose Upload. 4. Choose the .zip file you created, and then choose Open. 5. At the top of the console, choose Save.

https://aws.amazon.com/premiumsupport/knowledge-center/lambda-deployment-package-nodejs/