![](https://content.walnutcreekcreative.com/stevewoodson/wp-content/uploads/sites/3/2023/03/CloudFront-Function-for-basic-auth-redirect-and-serving-from-S3-768x432.png)
CloudFront Function for basic auth, redirect, and serving from S3
How to switch from Lambda@Edge to a single CloudFront function for serving static content from an AWS S3 bucket, with redirects and basic auth included!
How to switch from Lambda@Edge to a single CloudFront function for serving static content from an AWS S3 bucket, with redirects and basic auth included!