[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-rest-api-dynamodb-lambda-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":55,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-rest-api-dynamodb-lambda-cdk.json","Amazon API Gateway to Amazon DynamoDB which streams event to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fthi-nguyen.json",{"text":13},[14],"cdk deploy","API Gateway to DynamoDB to Lambda function using streams.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-api-dynamodb-lambda-cdk","serverless-patterns\u002Fapigw-rest-api-dynamodb-lambda-cdk","apigw-rest-api-dynamodb-lambda-cdk","lib\u002FApiDynamoDBStack.ts",{"headline":25,"text":26},"How it works",[27,28],"This pattern deploys an Amazon API Gateway API integration with Amazon DynamoDB. It deploys a Lambda function as a consumer for the DynamoDB stream.","The Lambda function logs the decoded message which was received from the DynamoDB stream.","Python","300",{},{"icon1":33,"icon2":38,"icon3":41,"icon4":45,"line1":49,"line3":52},{"x":34,"y":35,"service":36,"label":37},20,50,"apigw","Amazon API Gateway",{"x":35,"y":35,"service":39,"label":40},"dynamodb","Amazon DynamoDB Stream",{"x":42,"y":35,"service":43,"label":44},60,"dynamodb-stream","",{"x":46,"y":35,"service":47,"label":48},80,"lambda","AWS Lambda",{"from":50,"to":51,"label":44},"icon1","icon2",{"from":53,"to":54,"label":44},"icon3","icon4",{"bullets":56},[57,60,63],{"text":58,"link":59},"Tutorial: Create a REST API as an Amazon Kinesis proxy in API Gateway","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fintegrating-api-with-aws-services-kinesis.html",{"text":61,"link":62},"Kinesis Data Stream PutRecord API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesis\u002Flatest\u002FAPIReference\u002FAPI_PutRecord.html",{"text":64,"link":65},"Using AWS Lambda with Amazon Kinesis","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-kinesis.html","patterns\u002Fapigw-rest-api-dynamodb-lambda-cdk",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","VLNeh_DD0EegoijbbFU1fyt05t3JPGkXV_K1ndYr4xU",1780914906972]