[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"pattern-appsync-dynamodb-singletable":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":33,"level":34,"meta":35,"patternArch":36,"resources":49,"s3URL":55,"services":56,"stem":57,"testing":58,"videoId":28,"__hash__":63},"patterns\u002Fpatterns\u002Fappsync-dynamodb-singletable.json","AWS AppSync to Amazon DynamoDB - SingleTable",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\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\u002Feric-johnson.json",{"text":15},[16],"sam deploy --guided","Create an AWS AppSync API endpoint with a custom resolver to Amazon DynamoDB using a single table design","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"appsync-dynamodb-singletable","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fappsync-dynamodb-singletable","serverless-patterns\u002Fappsync-dynamodb-singletable","template.yaml",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32],"The SAM template 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.","YAML","300",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"appsync","AWS AppSync",{"x":43,"y":39,"service":44,"label":45},80,"dynamodb","Amazon DynamoDB",{"from":47,"to":48,"label":28},"icon1","icon2",{"headline":50,"bullets":51},"Additional resources",[52],{"text":53,"link":54},"DynamoDB Office Hours - Building a Single Table Design SAM template for AWS AppSync","https:\u002F\u002Fyoutu.be\u002FI-L89SpoDxI","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Fappsync-dynamodb-singletable\u002Fcloudformation.yml",{"from":40,"to":44},"patterns\u002Fappsync-dynamodb-singletable",{"headline":59,"text":60},"Testing",[61,62],"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.","PaOyvXpkJgA4jmCx_WpA6o7HMdB7Eotj7gAlTvD_aNM",1779446116394]