[{"data":1,"prerenderedAt":76},["ShallowReactive",2],{"pattern-apigw-dynamodb-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":19,"extension":20,"framework":21,"gitHub":22,"highlight":6,"introBox":31,"language":35,"level":36,"meta":37,"patternArch":38,"resources":51,"s3URL":6,"services":69,"stem":70,"testing":71,"videoId":30,"__hash__":75},"patterns\u002Fpatterns\u002Fapigw-dynamodb-cdk.json","Amazon API Gateway REST API to Amazon DynamoDB",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14],"content\u002Fcontributors\u002Ftom-harvey.json",{"text":16},[17,18],"npm install","cdk deploy","Create an Amazon API Gateway REST API that integrates with an Amazon DynamoDB table.","json","AWS CDK",{"template":23,"payloads":28},{"projectFolder":24,"repoURL":25,"templateURL":26,"templateFile":27},"apigw-rest-api-dynamodb-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-api-dynamodb-cdk","serverless-patterns\u002Fapigw-rest-api-dynamodb-cdk","cdk\u002Flib\u002Fapi-dynamo-stack.ts",[29],{"headline":30,"payloadURL":30},"",{"headline":32,"text":33},"How it works",[34],"This pattern creates an Amazon API Gateway REST API that integrates with an Amazon DynamoDB table.","TypeScript","200",{},{"icon1":39,"icon2":44,"line1":48},{"x":40,"y":41,"service":42,"label":43},20,50,"apigw","API Gateway",{"x":45,"y":41,"service":46,"label":47},80,"dynamodb","Amazon DynamoDB",{"from":49,"to":50,"label":30},"icon1","icon2",{"headline":52,"bullets":53},"Additional resources",[54,57,60,63,66],{"text":55,"link":56},"Tutorial: Build an API Gateway REST API with AWS integration","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fgetting-started-aws-proxy.html",{"text":58,"link":59},"How do I use API Gateway as a proxy for another AWS service?","https:\u002F\u002Faws.amazon.com\u002Fpremiumsupport\u002Fknowledge-center\u002Fapi-gateway-proxy-integrate-service\u002F",{"text":61,"link":62},"Using Amazon API Gateway as a proxy for DynamoDB","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fusing-amazon-api-gateway-as-a-proxy-for-dynamodb\u002F",{"text":64,"link":65},"Setting up data transformations for REST APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Frest-api-data-transformations.html",{"text":67,"link":68},"Amazon API Gateway API request and response data mapping reference","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Frequest-response-data-mappings.html",{"from":42,"to":46},"patterns\u002Fapigw-dynamodb-cdk",{"headline":72,"text":73},"Testing",[74],"See the repo for detailed testing notes.","-etDiwFH130K36KYziumDg_TjHz6P-s09DxIF0obqAg",1778846881724]