[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-cloudfront-lambda-urls-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Fcloudfront-lambda-urls-cdk.json","Amazon CloudFront to AWS Lambda URLs",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsamuel-durand.json",{"text":13},[14],"cdk deploy","Front AWS Lambda Function URLs with Amazon CloudFront","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcloudfront-lambda-url-cdk-ts","serverless-patterns\u002Fcloudfront-lambda-url-cdk-ts","cloudfront-lambda-url-cdk-ts","cdk\u002Flib\u002Fcdk-stack.ts",{"headline":25,"text":26},"How it works",[27,28],"An Amazon CloudFront distribution is created that forwards requests to the domain name of the deployed AWS Lambda function URL.","Amazon CloudFront also allows for custom domain names, AWS Web Application Firewall (WAF) and AWS Shield Advanced to protect your endpoint from attacks.","TypeScript","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,45,"cloudfront","Amazon CloudFront",{"x":39,"y":35,"service":40,"label":41},80,"lambda","AWS Lambda URLs",{"from":43,"to":44,"label":45},"icon1","icon2","",{"headline":47,"bullets":48},"Additional resources",[49,52,55],{"text":50,"link":51},"Using Amazon CloudFront with AWS Lambda as origin to accelerate your web applications","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fnetworking-and-content-delivery\u002Fusing-amazon-cloudfront-with-aws-lambda-as-origin-to-accelerate-your-web-applications\u002F",{"text":53,"link":54},"Securing Lambda Function URLs using Amazon Cognito, Amazon CloudFront and AWS WAF","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fsecuring-lambda-function-urls-using-amazon-cognito-amazon-cloudfront-and-aws-waf\u002F",{"text":56,"link":57},"Lambda function URLs","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-urls.html","patterns\u002Fcloudfront-lambda-urls-cdk",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","aKrvGARI6S2nmz3eBh8TqoSpl1h5ccobKX9fsIa9L1o",1779446116934]