https://github.com/simalexan/s3-lambda-svg-to-pdf-s3
https://github.com/simalexan/s3-lambda-svg-to-pdf-s3
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/simalexan/s3-lambda-svg-to-pdf-s3
- Owner: simalexan
- Created: 2019-01-06T14:35:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T08:54:36.000Z (over 6 years ago)
- Last Synced: 2025-03-22T23:03:55.299Z (2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# S3 Bucket -> Lambda (RSVG Convert SVG to PDF) -> S3 Bucket
## Description
This is a serverless component that takes uploaded SVG files from one S3 Bucket, converts them to PDF and uploads to another S3 Bucket. It contains:
- an Input S3 Bucket that accepts SVG files.
- a Lambda that takes the SVG file from the Input S3 bucket, converts it the file to a PDF and uploads it to the Output bucket
- an Output S3 Bucket that receives PDF files.
## Deployment Parameters
This component has one CloudFormation deployment parameter:
- `ConversionTimeout`, an optional parameter, represents the timeout of the Conversion Lambda function. By default its 60 seconds.
- `InputBucketName`, an optional parameter, represents the name of the Input SVG Bucket. By default its "s3-lambda-input-svg-bucket".
- `OutputBucketName`, an optional parameter, represents the name of the Output PDF Bucket. By default its "s3-lambda-output-pdf-bucket".
## Latest Release - 1.1.0
- Added Input and Output bucket names as Cloudformation Parameters
## Roadmap - Upcoming changes
Here are the upcoming changes that I'll add to this serverless component:
- ESLint
- Tests