[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-cloudfront-lambda-edge":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":30,"language":34,"level":35,"meta":36,"patternArch":37,"resources":50,"s3URL":6,"services":56,"stem":57,"testing":58,"videoId":29,"__hash__":62},"patterns\u002Fpatterns\u002Fcloudfront-lambda-edge.json","Amazon CloudFront to AWS Lambda@Edge",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. In the source folder, from the command line enter:","\u003Ccode>cdk destroy\u003C\u002Fcode>","2. See additional notes in the repo.",[14],"content\u002Fcontributors\u002Fcorneliu-croitoru.json",{"text":16},[17],"cdk deploy","CloudFront to Lambda@Edge","json","AWS CDK",{"template":22,"payloads":27},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"cloudfront-lambda-edge-cdk-python","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcloudfront-lambda-edge-cdk-python","serverless-patterns\u002Fcloudfront-lambda-edge-cdk-python","cloudfront_lambda_edge_cdk_python\u002Fcloudfront_lambda_edge_cdk_python_stack.py",[28],{"headline":29,"payloadURL":29},"",{"headline":31,"text":32},"How it works",[33],"This pattern deploys an Amazon Cloudfront distribution, a Lambda@Edge function and a Amazon S3 Bucket and demonstrates how to generate content at edge.","TypeScript","200",{},{"icon1":38,"icon2":43,"line1":47},{"x":39,"y":40,"service":41,"label":42},20,45,"cloudfront","CloudFront",{"x":44,"y":40,"service":45,"label":46},80,"lambda","Lambda@Edge",{"from":48,"to":49,"label":29},"icon1","icon2",{"headline":51,"bullets":52},"Additional resources",[53],{"text":54,"link":55},"CDK Patterns","https:\u002F\u002Fcdkpatterns.com\u002F",{"from":41,"to":45},"patterns\u002Fcloudfront-lambda-edge",{"headline":59,"text":60},"Testing",[61],"See the GitHub repo for testing instructions.","JCXu_ySO-mEYx8KRREauscu_NEhSsjLN3n83cUytqvM",1779273334317]