Convert HTML to PDF using Webkit (QtWebKit) on AWS Lambda
{
"html" : "<!DOCTYPE html><html><body>Hello world</body></html>"
}
{
"filename": "8rqj9td0pvjf9a4i.pdf"
}
- Open
config.js
and setdstBucket
variable to name of S3 bucket where you want function to save output PDF files. - Make sure AWS Lambda function has
PutObject
access to S3 bucket