[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-lambda-eventbridge-sfn-java":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":30,"level":31,"meta":32,"patternArch":33,"resources":52,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Flambda-eventbridge-sfn-java.json","AWS Lambda to Amazon EventBridge to AWS Step Functions",null,{"text":8},[9,10],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[12],"content\u002Fcontributors\u002Frazvan-minciuna.json",{"text":14},[15],"sam deploy --guided","Create a Lambda function that sends events to EventBridge with routing to Step Functions.","json","AWS SAM",{"template":20},{"projectFolder":21,"repoURL":22,"templateURL":23,"templateFile":24},"lambda-eventbridge-stepfunctions-sam-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-eventbridge-stepfunctions-sam-java","serverless-patterns\u002Flambda-eventbridge-stepfunctions-sam-java","template.yml",{"headline":26,"text":27},"How it works",[28,29],"The SAM template contains all the information to deploy AWS resources(the Lambda functions, the EventBridge and the Step Functions workflow) and also the permission required by these service to communicate.","The OrderPublisher Lambda function will be invoked with a JSON payload which will send the message to the EventBridge custom event bus. The event will match a custom event pattern rule which will send the event to the Step Functions workflow. The workflow will start and invoke the OrderState Lambda function which will return a message and display the EventBridge message in CloudWatch Logs.","Java","100",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda",{"x":36,"y":36,"service":40,"label":41},"eventbridge","Amazon EventBridge",{"x":43,"y":36,"service":44,"label":45},80,"sfn","AWS Step Functions",{"from":47,"to":48,"label":49},"icon1","icon2","",{"from":48,"to":51,"label":49},"icon3",{"headline":53,"bullets":54},"Additional resources",[55,58],{"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",{"text":59,"link":60},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","patterns\u002Flambda-eventbridge-sfn-java",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","NUxb3A6AK7pyRRRfQcHo3m7i2rskm8sAe_vJd_uSf3M",1778846886225]