[{"data":1,"prerenderedAt":84},["ShallowReactive",2],{"pattern-eventbridge-global-endpoints-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":28,"level":29,"meta":30,"patternArch":31,"resources":71,"s3URL":6,"services":6,"stem":79,"testing":80,"videoId":6,"__hash__":83},"patterns\u002Fpatterns\u002Feventbridge-global-endpoints-cdk.json","Event Bridge Global Endpoints - Active Acttive",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmarcia-villalba.json",{"text":13},[14],"cdk deploy --all","Creates an EventBridge Global Endpoint and all the infra needed to set it up","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-global-endpoints-cdk","serverless-patterns\u002Feventbridge-global-endpoints-cdk","eventbridge-global-endpoints-cdk","cdk\u002Flib\u002Fglobal-endpoint-stack.ts",{"headline":25,"text":26},"How it works",[27],"This pattern showscase the usage of EventBridge Global Endpoints. It will create 2 event buses in two regions (a main region and secondary region) and the buses each bus is connected to a CloudWatch Log. The client that is a Lambda function will put messages to the Global Endpoint and depending on the health of the main region bus it will shift the traffic to the correct region. This pattern also creates an alarm and health check to validate the health of the main region event bus.","TypeScript","200",{},{"group1":32,"group2":38,"icon1":41,"icon2":45,"icon3":49,"icon4":53,"icon5":55,"icon6":59,"line1":60,"line2":63,"line3":65,"line4":67,"line5":69},{"x":33,"y":34,"w":35,"h":36,"label":37},46,5,52,40,"us-east-1",{"x":33,"y":39,"w":35,"h":36,"label":40},50,"eu-west-1",{"x":42,"y":39,"service":43,"label":44},33,"eventbridge","Global Endpoint",{"x":46,"y":39,"service":47,"label":48},10,"lambda","AWS Lambda",{"x":50,"y":51,"service":43,"label":52},65,20,"Bus1",{"x":50,"y":50,"service":43,"label":54},"Bus2",{"x":56,"y":51,"service":57,"label":58},85,"cloudwatch","CloudWatch Log Group1",{"x":56,"y":50,"service":57,"label":58},{"from":61,"to":62},"icon2","icon1",{"from":62,"to":64},"icon3",{"from":62,"to":66},"icon4",{"from":64,"to":68},"icon5",{"from":66,"to":70},"icon6",{"bullets":72},[73,76],{"text":74,"link":75},"Global Event Driven Applications","https:\u002F\u002Fblog.marcia.dev\u002Fglobal-event-driven-applications",{"text":77,"link":78},"EventBridge Global Endpoints docs","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-global-endpoints.html","patterns\u002Feventbridge-global-endpoints-cdk",{"text":81},[82],"See the GitHub repo for detailed testing instructions.","aIH-aRGuscDCmxVU-Pp7R6zuo9HqLBbIaf1ppUAHYXk",1778846884525]