Create a CloudFront Distribution to upload files to an S3 bucket. Uses Lambda@Edge for authentication.
GitHub icon Download this pattern (.zip)
GitHub icon View this pattern on GitHub
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cloudfront-lambda-edge-s3-cdk
cdk deploy
cdk destroy
Senior Solutions Architect @ Amazon Web Services
Follow on LinkedIn