This function uses Puppeteer (headless chrome), hosted as a Lambda, to dynamically create PDFs.
Currently this repository is set up to be deployed via Netlify, but it could be deployed in Amazon directly.
Took influence from; https://bitsofco.de/how-to-use-puppeteer-in-a-netlify-aws-lambda-function