[{"data":1,"prerenderedAt":70},["ShallowReactive",2],{"pattern-apigw-lambda-dynamodb":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":28,"language":33,"level":34,"meta":35,"patternArch":36,"resources":54,"s3URL":6,"services":63,"stem":64,"testing":65,"videoId":32,"__hash__":69},"patterns\u002Fpatterns\u002Fapigw-lambda-dynamodb.json","Amazon API Gateway 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\u002Fravi-srinivasan.json",{"text":15},[16],"sam deploy --guided","Make a request to API Gateway that saves data in DynamoDB.","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-lambda-dynamodb","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-dynamodb","serverless-patterns\u002Fapigw-lambda-dynamodb","template.yaml",[27],{},{"headline":29,"text":30,"test":32},"How it works",[31],"This pattern demonstrates how making an HTTP POST request to an Amazon API Gateway endpoint invokes an AWS Lambda function and inserts an item into an Amazon DynamoDB table.","","Python","200",{},{"icon1":37,"icon2":42,"icon3":45,"line1":49,"line2":52},{"x":38,"y":39,"service":40,"label":41},20,50,"apigw","API Gateway",{"x":39,"y":39,"service":43,"label":44},"lambda","AWS Lambda",{"x":46,"y":39,"service":47,"label":48},80,"dynamodb","Amazon DynamoDB",{"from":50,"to":51,"label":32},"icon1","icon2",{"from":51,"to":53,"label":32},"icon3",{"headline":55,"bullets":56},"Additional resources",[57,60],{"text":58,"link":59},"AWS Docs: Writing Data to a Table","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FSQLtoNoSQL.WriteData.html",{"text":61,"link":62},"Creating a scalable serverless import process for Amazon DynamoDB","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fcreating-a-scalable-serverless-import-process-for-amazon-dynamodb\u002F",{"from":40,"to":47},"patterns\u002Fapigw-lambda-dynamodb",{"headline":66,"text":67},"Testing",[68],"See the GitHub repo for detailed testing instructions.","V5Ibz4ssEr0YdLZ5JMXOGEQ4zg-LB2Vc18AbPUD4jgM",1779100517540]