This is an example of creating a function that runs as nestjs using the serverless framework.
Sample publish. https://mmjdx4zxmc.execute-api.ap-northeast-1.amazonaws.com/dev/
$ npm install aws-lambda aws-serverless-express express
This is minimum setting. if necessary, you add the setting.
$ npm run prestart:prod
$ sls deploy