Skip to content

simalexan/s3-lambda-svg-to-pdf-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published