Pre-Requisites:
Any pdf already stored in your AWS S3 bucket.
Access to the private key, token and bucket for your desired pdf.
Download and build the system.
Modify the private key, token , bucket, and pdf name to your desired on.
Modify your reuqired API endpoint and trigger the lambda function by calling the API of "pdfviewer"
You should be able to hit then download the pdf on your machine.