[{"data":1,"prerenderedAt":75},["ShallowReactive",2],{"pattern-apigw-dynamodb-sls":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":69,"testing":70,"videoId":6,"__hash__":74},"patterns\u002Fpatterns\u002Fapigw-dynamodb-sls.json","Amazon API Gateway REST API to Amazon DynamoDB",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>serverless remove --verbose\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\u002Fdmitry-gulin.json",{"text":15},[16],"serverless deploy --verbose","Create an Amazon API Gateway REST API that integrates with an Amazon DynamoDB table","json","Serverless Framework",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-rest-api-dynamodb-sls","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-api-dynamodb-sls","serverless-patterns\u002Fapigw-rest-api-dynamodb-sls","serverless.yml",{"headline":27,"text":28},"How it works",[29,30],"This pattern creates an Amazon API Gateway REST API that integrates with an Amazon DynamoDB table named \"Music\". The API includes an API key and usage plan. The DynamoDB table includes a Global Secondary Index named \"Artist-Index\". The API integrates directly with the DynamoDB API and supports PutItem and Query actions.","The REST API uses an IAM role to provide full access to the specific DynamoDB table and index created by the CloudFormation template.","Integration","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"apigw","API Gateway",{"x":41,"y":37,"service":42,"label":43},80,"dynamodb","Amazon DynamoDB",{"from":45,"to":46,"label":47},"icon1","icon2","",{"headline":49,"bullets":50},"Additional resources",[51,54,57,60,63,66],{"text":52,"link":53},"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":55,"link":56},"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":58,"link":59},"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":61,"link":62},"Setting up data transformations for REST APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Frest-api-data-transformations.html",{"text":64,"link":65},"Amazon API Gateway API request and response data mapping reference","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Frequest-response-data-mappings.html",{"text":67,"link":68},"Serverless Framework documentation","https:\u002F\u002Fwww.serverless.com\u002Fframework\u002Fdocs","patterns\u002Fapigw-dynamodb-sls",{"headline":71,"text":72},"Testing",[73],"See the repo for detailed testing notes.","rqIhDwlbT4dIuLOG13KhxPQZ1aaYGomoWUzm1hUCsow",1778927704742]