This is a serverless component consisting of:
- an S3 Upload Bucket that accepts files.
- a Lambda function that converts uploaded files using Pandoc
- an S3 Results Bucket where the converted files will be saved
It's a Nuts & Bolts application component for AWS Serverless Application Repository.
This component has two CloudFormation deployment parameters that can be modified by users:
ConversionFileType
: a string with the extension (no starting dot) for the resulting file type. For example, to convert to MS Word, usedocx
.ConversionMimeType
: a string with the MIME type of the result when uploaded to S3. For example, for MS Word files, useapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
If you use a custom Lambda Layer for Pandoc, then also provide the ARN of the layer in the LambdaLayerArn
parameter.
Initial release.
Here are the upcoming changes that I'll add to this serverless component:
- ESLint
- Tests