[{"data":1,"prerenderedAt":54},["ShallowReactive",2],{"workflow-custom-event-cdk":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":16,"diagram":17,"extension":18,"framework":19,"gitHub":20,"introBox":29,"level":34,"meta":35,"resources":36,"s3URL":39,"services":40,"simplicity":45,"stem":46,"testing":47,"type":51,"usecase":52,"videoId":28,"__hash__":53},"workflows\u002Fworkflows\u002Fcustom-event-cdk.json","EventBridge Custom Event",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmike-ellis.json",{"text":13},[14,15],"1. Bootstrap CDK, if needed: \u003Ccode>cdk bootstrap aws:\u002F\u002F{your-aws-account-number}\u002F{your-aws-region}\u003C\u002Fcode>","2. Deploy the stack: \u003Ccode>cdk deploy\u003C\u002Fcode>","Submit a custom event to EventBridge from a Step Functions workflow","\u002Fassets\u002Fimages\u002Fworkflows\u002Fcustom-event-cdk.png","json","AWS CDK",{"template":21,"payloads":26},{"repoURL":22,"templateDir":23,"templateFile":24,"ASL":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Feventbridge-custom-cdk\u002F","eventbridge-custom-cdk\u002Feventbridge_custom_cdk","eventbridge_custom_cdk\u002Feventbridge_custom_cdk_stack.py","statemachine\u002Fstatemachine.asl.json",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32,33],"This workflow demonstrates how to use Step Functions to send a custom event to an EventBridge bus.  The bus contains a rule which matches the event pattern emitted by the Step Functions workflow.","The targets (SNS, Lambda, and SQS) will subsequently process the emitted event.","100",{},{"headline":37,"bullets":38},"Additional resources",[],"https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fworkflows\u002Fcustom-event-samples\u002Fcloudformation.yml",[41,42,43,44],"sns","eventbridge","sqs","sfn","1 - Fundamental","workflows\u002Fcustom-event-cdk",{"headline":48,"text":49},"Testing",[50],"See the GitHub repo for detailed testing instructions.","Standard","Event-Driven Architecture","qHwap7_0zYvPTgOBI1GvHhvYup0dJCMFrD8FgYwcs0s",1778846888949]