[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-sqs-lambda-ddb-sam-java":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":61,"testing":62,"videoId":6,"__hash__":66},"patterns\u002Fpatterns\u002Fsqs-lambda-ddb-sam-java.json","Amazon SQS to AWS Lambda to Amazon DynamoDB",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\u002Frazvan-minciuna.json",{"text":15},[16],"See the GitHub repo for deployment instructions","Create a Lambda function that batch writes to DynamoDB from SQS.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"sqs-lambda-dynamodb-sam-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsqs-lambda-dynamodb-sam-java","serverless-patterns\u002Fsqs-lambda-dynamodb-sam-java","template.yml",{"headline":27,"text":28},"How it works",[29],"This pattern deploys an SQS queue, a Lambda Function, and a DynamoDB table allowing batch writes from SQS messages to a DynamoDB. The CDK application contains the minimum IAM resources required to run the application, using SAM and Java 11.","Java","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"sqs","Amazon SQS",{"x":36,"y":36,"service":40,"label":41},"lambda","AWS Lambda",{"x":43,"y":36,"service":44,"label":45},80,"dynamodb","Amazon DynamoDB",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"headline":53,"bullets":54},"Additional resources",[55,58],{"text":56,"link":57},"Choosing between messaging services for serverless applications.","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fchoosing-between-messaging-services-for-serverless-applications\u002F",{"text":59,"link":60},"Configuring a queue to trigger an AWS Lambda function","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002Fsqs-configure-lambda-function-trigger.html","patterns\u002Fsqs-lambda-ddb-sam-java",{"headline":63,"text":64},"Testing",[65],"See the GitHub repo for testing instructions.","NqAyXmwWTxbKpepXRi6kYrJP00NlkR_xHlhLsw0K7wI",1778846888284]