[{"data":1,"prerenderedAt":62},["ShallowReactive",2],{"pattern-appsync-dynamodb-single-table-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":46,"s3URL":6,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":61},"patterns\u002Fpatterns\u002Fappsync-dynamodb-single-table-cdk.json","AWS AppSync to Amazon DynamoDB - Single table design",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmichael-liendo.json",{"text":13},[14],"npx aws-cdk deploy","Creates an AppSync API with a schema and a resolver to a DynamoDB table following the single table design model","json","AWS CDK",{"template":19},{"projectFolder":20,"repoURL":21,"templateURL":22,"templateFile":23},"appsync-dynamodb-singletable-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fappsync-dynamodb-singletable-cdk\u002F","serverless-patterns\u002Fappsync-dynamodb-singletable-cdk","cdk\u002Flib\u002Fappsync-cdk-stack.ts",{"headline":25,"text":26},"How it works",[27,28],"This template creates an AppSync API that uses a DynamoDB resolver.","The `getParentAndChildren` resolver demonstrates using a custom resolver to format results from a single table design for AppSync.","TypeScript","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"appsync","AWS AppSync",{"x":39,"y":35,"service":40,"label":41},80,"dynamodb","Amazon DynamoDB",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48,51,54],{"text":49,"link":50},"AWS CDK- Define cloud infrastructure using familiar programming languages","https:\u002F\u002Faws.amazon.com\u002Fcdk\u002F",{"text":52,"link":53},"AWS Appsync - Accelerate application development with serverless GraphQL and Pub\u002FSub APIs","https:\u002F\u002Faws.amazon.com\u002Fappsync\u002F",{"text":55,"link":56},"Amazon Cognito - Implement secure, frictionless customer identity and access management that scales","https:\u002F\u002Faws.amazon.com\u002Fcognito\u002F","patterns\u002Fappsync-dynamodb-single-table-cdk",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","1-ehLkudAzndRx9rPx_1oZssqEHacVI9sjgVequUbPA",1778846883200]