Node.js
Your ./package.json should contain scripts for deployment package creation and for uploading lambda function updates.
The following commangs will be executed on the build server:
npm install # install all dependencies
npm test # run unit tests
npm run build # create deployment package
npm run deploy # upload function updates to AWS
Python
Your project repository should contain the following scripts:
- ./scripts/build.sh - deployment package creation
- ./scripts/deploy.sh - uploading lambda function updates