[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"pattern-lambda-eventbridge-sam-java":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":47,"s3URL":56,"services":6,"stem":57,"testing":58,"videoId":6,"__hash__":62},"patterns\u002Fpatterns\u002Flambda-eventbridge-sam-java.json","AWS Lambda to Amazon EventBridge",null,{"headline":8,"text":9},"Cleanup",[10,11],"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>",[13],"content\u002Fcontributors\u002Fsteven-cook.json",{"text":15},[16],"sam deploy --guided","Create a Lambda function that sends events to EventBridge.","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"lambda-eventbridge-java","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-eventbridge-java","serverless-patterns\u002Flambda-eventbridge-java","template.yaml",{"headline":27,"text":28},"How it works",[29],"The SAM template deploys a Lambda function with permission to publish events to EventBridge. The Lambda function publishes an event to the default bus in EventBridge when invoked.","Java","100",{},{"icon1":34,"icon2":39,"line1":43},{"x":35,"y":36,"service":37,"label":38},20,50,"lambda","AWS Lambda",{"x":40,"y":36,"service":41,"label":42},80,"eventbridge","EventBridge",{"from":44,"to":45,"label":46},"icon1","icon2","",{"headline":48,"bullets":49},"Additional resources",[50,53],{"text":51,"link":52},"Integrating Amazon EventBridge into your serverless applications","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintegrating-amazon-eventbridge-into-your-serverless-applications\u002F",{"text":54,"link":55},"Use Amazon EventBridge to Build Decoupled, Event-Driven Architectures","https:\u002F\u002Fserverlessland.com\u002Flearn\u002Feventbridge","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fpatterns\u002Flambda-eventbridge-sam-java\u002Fcloudformation.yml","patterns\u002Flambda-eventbridge-sam-java",{"headline":59,"text":60},"Testing",[61],"See the GitHub repo for detailed testing instructions.","L21UET-fbL5S-iUgivHzb-hG0YB4kJSaEfbcw26wopE",1778846886220]