Amazon CloudFront to Amazon S3

Amazon CloudFront → Amazon S3

Serving private content from CloudFront with signed URLs and signed cookies

This pattern demonstrates how to use CloudFront to securely serve private content.
In this pattern, the CDK stack creates an S3 bucket and a CloudFront distribution that is configured to accept requests with only valid signed URLs or signed Cookies.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cloudfront-s3-cdk-dotnet

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Ankush Jain

Ankush Jain

Application Development Consultant at AWS Professional Services.

Follow on LinkedIn