aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.47k stars 858 forks source link

New serverless pattern - cloudfront-oac-lambda-url-nodejs-cdk #2246

Open tgpadua opened 1 month ago

tgpadua commented 1 month ago

Description of changes: This pattern shows how to protect AWS Lambda URL origins by using CloudFront Origin Access Control (OAC) to only allow access from designated CloudFront distributions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.