Create JSON to PDF in Lambda using Python

Hi All,

I need to create PDF file using JSON on http request using python in AWS lambda and then store back the PDF in S3 bucket. Any help on this on how to proceds in saving the runtime pdf in S3 bucket.

I am trying to use http://code.activestate.com/recipes/578979-convert-json-to-pdf-with-python-and-xtopdf/ to generate PDF file

I am not sure how helpful my answer is going to be.
boto3 is already included on lambda.
Writing a file can only be done in /tmp folder so you can create your pdf file as /tmp/myfile.pdf and then upload this file to S3.