Convert docx to pdf

broken image

Now go into the function: Lambda > Functions then configure an S3 or SQS trigger (or your step function), environment variables and execution role as explained below. When this is complete, you should see a green tick saying 'Your application has been deployed' Please double check you are in the AWS region you intend this needs to be the same region as the bucket which will contain the Word documents you wish to convert.Īfter you click 'Deploy' (bottom right corner), you'll need to wait a minute or so as CloudFormation creates resources. Installation and Getting Startedĭirect link to deploy or search for 'docx-to-pdf' in the Serverless Application Repository.

broken image

This app uses Native Documents' docx-wasm to perform the conversion. Thanks to Lambda's concurrency, this approach is well-suited to variable bulk/batch higher-volume conversion workloads. You probably still want to use S3 buckets, to workaround It couldĮasily be modified to support other triggers. This Lambda can be invoked from an AWS Step Function, or in response to an S3 'created' or SQS event.

broken image

docx) in a source S3 bucket to PDF, saving the PDF to a destination S3 bucket.

broken image