[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-apigw-authorizer-sqs-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":32,"level":33,"meta":34,"patternArch":35,"resources":49,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Fapigw-authorizer-sqs-cdk.json","Amazon API Gateway REST API protected with authorizer to Amazon SQS",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsai-kotagiri.json",{"text":13},[14],"CDK deploy","Create an API Gateway REST API that is protected with an AWS Lambda token authorizer and integrates with Amazon SQS","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcdk-apigw-authorizer-sqs","serverless-patterns\u002Fapigw-authorizer-sqs-cdk","apigw-authorizer-sqs-cdk","apigw_sqs\u002Fapigw_sqs_auth_stack.py",{"headline":25,"text":26},"How it works",[27,28,29,30,31],"This CDK project demonstrates how to set up a queue based leveling pattern using AWS API Gateway REST API and Amazon SQS.","Processing higher number of HTTP and webhook events synchronously during traffic peaks can cause performance deteroration.","To avoid these situations, a common architectural strategy is to use a queue that acts as a buffer for these synchronous requests.","This CDK project deploys an API Gateway REST API that can act as a front door for requests and stores them in an Amazon SQS queue.","Furthermore, if you want to to protect your API Gateway with a custom authorizer the project also has a stack to takes a Lambda ARN which implements authorization logic.","Python","200",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"apigw","Amazon API Gateway",{"x":42,"y":38,"service":43,"label":44},80,"sqs","Amazon SQS",{"from":46,"to":47,"label":48},"icon1","icon2","",{"bullets":50},[51,54],{"text":52,"link":53},"AWS Solutions Construct for aws-apigateway-sqs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsolutions\u002Flatest\u002Fconstructs\u002Faws-apigateway-sqs.html",{"text":55,"link":56},"AWS APIGateway lambda authorizer blueprint","https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-apigateway-lambda-authorizer-blueprints\u002Fblob\u002Fmaster\u002Fblueprints\u002Fpython\u002Fapi-gateway-authorizer-python.py","patterns\u002Fapigw-authorizer-sqs-cdk",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","iu34jB42QIvQze80MYd1hunksxseBrxYankq6ALlukY",1779273331750]