[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-sqs-lambda-nodejs-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":25,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":34,"resources":47,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Fsqs-lambda-nodejs-sam.json","Process Amazon SQS records with AWS Lambda (Node.js)",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fjulian-wood.json",{"text":13},[14,15],"sam build","sam deploy --guided","This pattern shows how to process Amazon SQS messages using AWS Lambda.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsqs-lambda-nodejs-sam","serverless-patterns\u002Fsqs-lambda-nodejs-sam","sqs-lambda-nodejs-sam","template.yaml","true",{"headline":27,"text":28},"How it works",[29],"The AWS SAM template deploys an AWS Lambda function, an Amazon SQS queue, a dead-letter SQS queue, and the IAM permissions required to run the application. Lambda polls the SQS queue and invokes the Lambda function when new messages are available.","Node.js","200",{"AWS":33},"",{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"sqs","Amazon SQS",{"x":41,"y":37,"service":42,"label":43},80,"lambda","AWS Lambda",{"from":45,"to":46,"label":33},"icon1","icon2",{"bullets":48},[49,52],{"text":50,"link":51},"Using Lambda with Amazon SQS","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-sqs.html?trk=2dd77e51-cb93-4970-a61a-5993781e5576&sc_channel=el",{"text":53,"link":54},"Introducing an enhanced local IDE experience for AWS Lambda developers","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-an-enhanced-local-ide-experience-for-aws-lambda-developers?trk=2dd77e51-cb93-4970-a61a-5993781e5576&sc_channel=el","patterns\u002Fsqs-lambda-nodejs-sam",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","pQjEQsH-JyR7I12ruZ-L9k1to-3cNPXyCOHaWfeTmlw",1778846888331]