[{"data":1,"prerenderedAt":55},["ShallowReactive",2],{"pattern-apigateway-rest-rest":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":33,"level":34,"meta":35,"patternArch":36,"resources":6,"s3URL":47,"services":48,"stem":49,"testing":50,"videoId":28,"__hash__":54},"patterns\u002Fpatterns\u002Fapigateway-rest-rest.json","Amazon API Gateway REST to Amazon API Gateway REST",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\u002Feric-johnson.json",{"text":15},[16],"sam deploy --guided","Create a primary API that centralizes configuration and securely proxies sub API endpoints.","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-rest-apigw-rest","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-apigw-rest","serverless-patterns\u002Fapigw-rest-apigw-rest","template.yaml",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32],"This pattern creates a public Amazon API Gateway REST API endpoint that proxies two secondary API Gateway REST API endpoints. The primary gateway inserts an API Key that is validated by the secondary endpoints. Traffic is restricted to only requests coming through the primary API. This pattern allows centralized authorization, caching, throttling, and other API configurations.","Node.js","300",{},{"icon1":37,"icon2":42,"line1":44},{"x":38,"y":39,"service":40,"label":41},20,50,"apigw","API Gateway REST API",{"x":43,"y":39,"service":40,"label":41},80,{"from":45,"to":46,"label":28},"icon1","icon2","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fapigateway-rest-rest\u002Fcloudformation.yml",{"from":40,"to":40},"patterns\u002Fapigateway-rest-rest",{"headline":51,"text":52},"Testing",[53],"See testing in the README.md file in the repo","fmMEgiStdJRjsLEQnNdHTqlOzXOmgmsNMBy795pRe0U",1778846881486]