[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"pattern-cloudfront-apigw-failover":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":52,"s3URL":6,"services":6,"stem":63,"testing":64,"videoId":6,"__hash__":68},"patterns\u002Fpatterns\u002Fcloudfront-apigw-failover.json","Amazon CloudFront to Amazon API Gateway with failover",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fdaniele-frasca.json",{"text":15},[16],"sam deploy --guided","Deploy CloudFront in front of API Gateway with failover.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"cloudfront-failover-apigw-http-api-lambda-rust","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcloudfront-failover-apigw-http-api-lambda-rust","serverless-patterns\u002Fcloudfront-failover-apigw-http-api-lambda-rust","cloudfront.yml",{"headline":27,"text":28},"How it works",[29],"This pattern creates an Amazon Cloudfront failover distribution on front of an Amazon API Gateway HTTP API and an AWS Lambda function in two different Regions.","Rust","300",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"cloudfront","Amazon CloudFront",{"x":36,"y":36,"service":40,"label":41},"apigw","API Gateway",{"x":43,"y":36,"service":44,"label":45},80,"lambda","AWS Lambda",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"headline":53,"bullets":54},"Additional resources",[55,57,60],{"text":38,"link":56},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudFront\u002Flatest\u002FDeveloperGuide\u002FIntroduction.html",{"text":58,"link":59},"Function Event Object - HTTP API v2 Event","https:\u002F\u002Fgithub.com\u002Fawsdocs\u002Faws-lambda-developer-guide\u002Fblob\u002Fmaster\u002Fsample-apps\u002Fnodejs-apig\u002Fevent-v2.json",{"text":61,"link":62},"Working with AWS Lambda proxy integrations for HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api-develop-integrations-lambda.html","patterns\u002Fcloudfront-apigw-failover",{"headline":65,"text":66},"Testing",[67],"See the repo for detailed testing notes.","lElO5hzyXoP_GRZxCB2ogGEVA9wQGdxMJTnZnp6VWRQ",1778846883679]