[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-eventbridge-to-appsync-sam":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":31,"level":32,"meta":33,"patternArch":34,"resources":48,"s3URL":6,"services":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Feventbridge-to-appsync-sam.json","Realtime subscriptions with Amazon EventBridge and AWS AppSync",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdavid-boyne.json",{"text":13},[14],"sam deploy --guided","Create real time subscriptions from EventBridge to AppSync","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-to-appsync-sam","serverless-patterns\u002Feventbridge-to-appsync-sam","eventbridge-to-appsync-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30],"This pattern configures AppSync as an EventBridge target allowing consumers subscribe to real-time updates using GraphQL subscriptions.","Events published on the event bus are forwared to the Mutation on the AppSync GraphQL schema. Consumers of the API can subscribe in real time.","\u003Cimg width=\"100%\" src=\"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Fblob\u002Fmain\u002Feventbridge-to-appsync-sam\u002Farchitecture.png?raw=true\" \u002F>","Using this example GraphQL subscription you can listen for events based on account, region, detail-type or source.","Integration","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"eventbridge","EventBridge",{"x":41,"y":37,"service":42,"label":43},80,"appsync","AWS AppSync",{"from":45,"to":46,"label":47},"icon1","icon2","EventBridge Target",{"bullets":49},[50],{"text":51,"link":52},"AppSync target for Amazon EventBridge","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Ftarget-appsync.html","patterns\u002Feventbridge-to-appsync-sam",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","mJVrJ5MpNx97lx7OFpLlAnCFHQ-lklFQXumgwq4_8uI",1781778920286]