[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-eventbridge-appsync-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":33,"level":34,"meta":35,"patternArch":36,"resources":49,"s3URL":6,"services":58,"stem":59,"testing":60,"videoId":28,"__hash__":64},"patterns\u002Fpatterns\u002Feventbridge-appsync-cdk.json","Amazon EventBridge to AWS AppSync",null,{"headline":8,"text":9},"Cleanup",[10],"To delete the stack, run: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fjosh-kahn.json",{"text":14},[15,16],"cdk deploy","See the GitHub repo for detailed instructions","Create an EventBridge event bus that sends events to an AppSync API","json","AWS CDK",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"cdk-eventbridge-appsync","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcdk-eventbridge-appsync","serverless-patterns\u002Fcdk-eventbridge-appsync","cdk\u002Flib\u002Fmain.ts",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32],"In this pattern, AWS AppSync is configured with a a schema to manage and read todos. The pattern uses an event bridge bus and an EventBridge API destination to trigger the AppSync GraphQL updateTodo mutation when an event that matches the defined rule is received. The AppSync API KEY is used as the mode of authorization.","Node.js","200",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"eventbridge","EventBridge",{"x":43,"y":39,"service":44,"label":45},80,"appsync","AWS AppSync",{"from":47,"to":48,"label":28},"icon1","icon2",{"headline":50,"bullets":51},"Additional resources",[52,55],{"text":53,"link":54},"HTTP Resolvers","https:\u002F\u002Fdocs.aws.amazon.com\u002Fappsync\u002Flatest\u002Fdevguide\u002Ftutorial-http-resolvers.html",{"text":56,"link":57},"Integrating Amazon EventBridge into your serverless applications","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintegrating-amazon-eventbridge-into-your-serverless-applications\u002F",{"from":40,"to":44},"patterns\u002Feventbridge-appsync-cdk",{"headline":61,"text":62},"Testing",[63],"See the GitHub repo for detailed testing instructions.","IWIJo-WpqUukHEUM9jRstSsAQ3FYjyeSjritqdlM5cg",1781001381909]