[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-apigw-sqs-sam-java":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":32,"level":33,"meta":34,"patternArch":35,"resources":54,"s3URL":66,"services":6,"stem":67,"testing":68,"videoId":6,"__hash__":71},"patterns\u002Fpatterns\u002Fapigw-sqs-sam-java.json","Amazon API Gateway HTTP API to Amazon SQS to AWS Lambda",null,{"text":8},[9,10],"Delete the stack: \u003Ccode>aws cloudformation delete-stack --stack-name STACK_NAME\u003C\u002Fcode>.","Confirm the stack has been deleted: aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"",[12,13],"content\u002Fcontributors\u002Fllyas-bakouch.json","content\u002Fcontributors\u002Fsteven-cook.json",{"text":15},[16],"sam deploy --guided","Create an Amazon API Gateway HTTP API that integrates with an Amazon SQS queue.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-sqs-lambda-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-sqs-lambda-java","serverless-patterns\u002Fapigw-sqs-lambda-java","template.yaml",{"headline":27,"text":28},"How it works",[29,30,31],"In this pattern, called \"Queue based leveling\", a serverless queue is introduced between your API Gateway and your workers, a Lambda function in this case.","The queue acts as a buffer to alleviate traffic spikes and ensure your workload can sustain the arriving load by buffering all the requests durably.","It also helps downstream consumers to process the incoming requests at a consistent pace.","Java","100",{},{"icon1":36,"icon2":41,"icon3":44,"line1":48,"line2":52},{"x":37,"y":38,"service":39,"label":40},20,50,"apigw","API Gateway",{"x":38,"y":38,"service":42,"label":43},"sqs","SQS",{"x":45,"y":38,"service":46,"label":47},80,"lambda","Lambda",{"from":49,"to":50,"label":51},"icon1","icon2","",{"from":50,"to":53,"label":51},"icon3",{"headline":55,"bullets":56},"Additional resources",[57,60,63],{"text":58,"link":59},"Working with HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api.html",{"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",{"text":64,"link":65},"Using Amazon SQS dead-letter queues to replay messages","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fusing-amazon-sqs-dead-letter-queues-to-replay-messages\u002F","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fapigw-sqs-sam-java\u002Fcloudformation.yml","patterns\u002Fapigw-sqs-sam-java",{"text":69},[70],"See the GitHub repo for detailed testing instructions.","4ZxO-neBxHL-y70H-xBz9NLUY5izAUzp4TaKDUvg_vg",1778846882867]