It is a super simple serverless application that uses AWS Lambda, Amazon S3 and CDK
-
Uploader user send request to Upload Lambda with Sender Email, Receiver Email and FileName (in Metadata). So Upload Lambda returns a presigned url to the user. (for upload file to S3)
-
Uploader user upload file to S3 with presigned url.
-
S3 triggers Email Lambda with S3 Event Notification.
-
Email Lambda sends an email to Receiver Email with S3 Object Url.
Publish projects to root folder
publish/upload_lambda
publish/email_lambda
Run in the root folder
cdk synth
cdk deploy