aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
5.14k stars 2.16k forks source link

Simple Event Driven Image Processing #767

Open micahwalter opened 2 years ago

micahwalter commented 2 years ago

Describe the feature

I'd like to propose a sample that helps users get started with event driven image processing. The sample would deploy a source S3 bucket and a target s3 bucket, along with a Lambda function and EventBridge bus to react to new or updated images landing in the source bucket. The Lambda would then process the source images into several derivatives and copy them to the target bucket, which would be fronted by a CloudFront CDN. We could also add a DynamoDB table to store metadata with an API Gateway.

Use Case

Event driven image processing is very powerful but requires some plumbing to get started. This CDK sample would help developers with a basic design pattern.

Proposed Solution

Simplified version of this:

FY6vetYX0AEDpI-

Other Information

No response

Acknowledgements

Language

Typescript

micahwalter commented 1 year ago

Is there interest in this?