[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-sqs-lambda-ddb-cdk-ts":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":53,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Fsqs-lambda-ddb-cdk-ts.json","Amazon SQS to AWS Lambda to Amazon DynamoDB with Amazon CloudWatch Alarms",null,{"text":8},[9],"\u003Ccode>cdk destroy\u003C\u002Fcode>",[11,12],"content\u002Fcontributors\u002Fandrei-stan.json","content\u002Fcontributors\u002Fwilles-mendoza.json",{"text":14},[15],"cdk deploy","Preventing Amazon DynamoDB write throttling with an Amazon SQS queue-based buffer using CDK and monitoring with CloudWatch alarms.","json","AWS CDK",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsqs-lambda-ddb-cdk-ts","serverless-patterns\u002Fsqs-lambda-ddb-cdk-ts","sqs-lambda-ddb-cdk-ts","lib\u002Fsqs-lambda-dynamo-stack.ts",{"headline":26,"text":27},"How it works",[28,29,30],"This code demonstrates how an Amazon SQS queue can be used to buffer records for an Amazon DynamoDB table and mitigate the risk for a client of being throttled.","The CDK code deploys Ingress and Dead-Letter SQS queues, AWS Lambda functions, destination DynamoDB tables and CloudWatch alarms.","AWS Lambda function uses NodeJS 20 runtime.","TypeScript","200",{},{"icon1":35,"icon2":40,"icon3":43,"line1":47,"line2":51},{"x":36,"y":37,"service":38,"label":39},20,50,"sqs","Amazon SQS queue",{"x":37,"y":37,"service":41,"label":42},"lambda","AWS Lambda",{"x":44,"y":37,"service":45,"label":46},80,"dynamodb","Amazon DynamoDB",{"from":48,"to":49,"label":50},"icon1","icon2","",{"from":49,"to":52,"label":50},"icon3",{"bullets":54},[55,58],{"text":56,"link":57},"Troubleshooting throttling issues in Amazon DynamoDB","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FTroubleshootingThrottling.html",{"text":59,"link":60},"Configuring reserved concurrency","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-concurrency.html","patterns\u002Fsqs-lambda-ddb-cdk-ts",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","GZoQ4vQb6Bd-Zh-i9k-90A2c30WGLvA6aCNcoM4KrTM",1778846888275]