[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-appsync-dynamodb-singletable-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":28,"language":32,"level":33,"meta":34,"patternArch":35,"resources":48,"s3URL":6,"services":54,"stem":55,"testing":56,"videoId":27,"__hash__":61},"patterns\u002Fpatterns\u002Fappsync-dynamodb-singletable-cdk.json","AWS AppSync to Amazon DynamoDB - SingleTable",null,{"headline":8,"text":9},"Cleanup",[10],"cdk destroy",[12],"content\u002Fcontributors\u002Feric-johnson.json",{"text":14},[15],"cdk deploy","Create an AWS AppSync API endpoint with a custom resolver to Amazon DynamoDB using a single table design","json","AWS CDK",{"template":20,"payloads":25},{"projectFolder":21,"repoURL":22,"templateURL":23,"templateFile":24},"appsync-dynamodb-singletable-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fappsync-dynamodb-singletable-cdk","serverless-patterns\u002Fappsync-dynamodb-singletable-cdk","cdk\u002Flib\u002Fappsync-cdk-stack.ts",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"How it works",[31],"The CDK project deploys an AppSync API, a DynamoDB table, a GraphQL schema and a custom resolver that demonstrates a Single Table design on Amazon DynamoDB that is formatted for AppSync.","Node.js","300",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"appsync","AWS AppSync",{"x":42,"y":38,"service":43,"label":44},80,"dynamodb","Amazon DynamoDB",{"from":46,"to":47,"label":27},"icon1","icon2",{"headline":49,"bullets":50},"Additional resources",[51],{"text":52,"link":53},"DynamoDB Office Hours - Building a Single Table Design SAM template for AWS AppSync","https:\u002F\u002Fyoutu.be\u002FI-L89SpoDxI",{"from":39,"to":43},"patterns\u002Fappsync-dynamodb-singletable-cdk",{"headline":57,"text":58},"Testing",[59,60],"1. Once the application is deployed, open the AppSync console at https:\u002F\u002Fus-west-2.console.aws.amazon.com\u002Fappsync\u002Fhome ensuring you are in the same region that the API was deployed to.","2. See the repo for additional testing notes.","Nablk2FvI4JPYYFxvtxr9dCQUlPEBU2SWpsxRLTNnhc",1782470138812]