[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-appsync-mongodb":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":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Fappsync-mongodb.json","AWS AppSync to MongoDB",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmichael-liendo.json",{"text":13},[14],"cdk deploy --all","Connect directly to MongoDB Atlas cluster using AWS AppSync using HTTP resolvers.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fappsync-mongodb","serverless-patterns\u002Fappsync-mongodb","appsync-mongodb","cdk\u002Flib\u002Fappsync-mongodb-stack.ts",{"headline":25,"text":26},"How it works",[27,28,29],"This project demonstrates how to connect directly to a MongoDB Atlas cluster using AWS Appsync.","Connecting directly to MongoDB requires the use of their Data API and AppSync's HTTP resolver.","In doing so, there is no need for a proxying Lambda function.","TypeScript","300",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"appsync","AWS AppSync",{"x":40,"y":36,"service":41,"label":42},85,"eventbridge-api.png","MongoDB Atlas API",{"from":44,"to":45,"label":46},"icon1","icon2","",{"bullets":48},[49,52,55],{"text":50,"link":51},"Blog post: The fullstack guide to using AWS AppSync and MongoDB Atlas","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fmobile\u002Fthe-fullstack-guide-to-using-aws-appsync-and-mongodb-atlas\u002F",{"text":53,"link":54},"Amazon AppSync - Managed GraphQL service","https:\u002F\u002Faws.amazon.com\u002Fappsync\u002F",{"text":56,"link":57},"Fullstack repo","https:\u002F\u002Fgithub.com\u002FfocusOtter\u002Ffullstack-appsync-mongodb","patterns\u002Fappsync-mongodb",{"text":60},[61],"See the GitHub repo for detailed testing instructions.","pcrgV6k83ziDNIzVr2S6G0tCSM-GRJou0yYct0nn4BU",1779273333818]