[{"data":1,"prerenderedAt":74},["ShallowReactive",2],{"pattern-apigw-lambda-dynamodb-stream-lambda":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":29,"level":30,"meta":31,"patternArch":32,"resources":58,"s3URL":6,"services":6,"stem":69,"testing":70,"videoId":6,"__hash__":73},"patterns\u002Fpatterns\u002Fapigw-lambda-dynamodb-stream-lambda.json","Amazon DynamoDB streams with Amazon API Gateway and AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>",[11,12],"content\u002Fcontributors\u002Fvijay-konade.json","content\u002Fcontributors\u002Fthi-nguyen.json",{"text":14},[15],"sam deploy","Saves items to DynamoDB through API Gateway. DynamoDB streams are then used to listen to new items and trigger downstream Lambda function","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-dynamodb-stream-lambda","serverless-patterns\u002Fapigw-lambda-dynamodb-stream-lambda","apigw-lambda-dynamodb-stream-lambda","template.yaml",{"headline":26,"text":27},"How it works",[28],"This sample project demonstrates how to use Amazon API Gateway, AWS Lambda, Amazon DynamoDB and Kinesis together. When an HTTP POST request is made to the Amazon API Gateway endpoint, the AWS Lambda function is invoked and inserts an item into the Amazon DynamoDB table, then an event will be pushed into Kinesis and trigger a Lambda function.","Python","200",{},{"icon1":33,"icon2":38,"icon3":42,"icon4":46,"line1":50,"line2":54,"line3":56},{"x":34,"y":35,"service":36,"label":37},15,50,"apigw","Amazon API Gateway",{"x":39,"y":35,"service":40,"label":41},40,"lambda","AWS Lambda",{"x":43,"y":35,"service":44,"label":45},65,"dynamodb","Amazon DynamoDB",{"x":47,"y":35,"service":48,"label":49},90,"kinesis-datastreams","Amazon Kinesis",{"from":51,"to":52,"label":53},"icon1","icon2","",{"from":52,"to":55,"label":53},"icon3",{"from":55,"to":57,"label":53},"icon4",{"bullets":59},[60,63,66],{"text":61,"link":62},"API Gateway to trigger Lambda and save to DynamoDB","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api-dynamo-db.html",{"text":64,"link":65},"DynamoDB to Kinesis","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002Fkds.html",{"text":67,"link":68},"Kinesis to Lambda","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-kinesis.html","patterns\u002Fapigw-lambda-dynamodb-stream-lambda",{"text":71},[72],"See the GitHub repo for detailed testing instructions.","nXEILfJxRxSQEsU2dJpHWI7JfPpGA4kPiRqXJb_7Ifc",1779273332530]