Install dependencies using npm. It'll install the AWS SDK on the development machine.
npm install
To run the function locally execute the following command.
npm run start
Run the following command to deploy the app to Amazon Lambda.
npm run deploy
Package the function:
- You can pack the whole function to a zip file with the "dependencies" specified in package.json