AWS Lambda to Amazon EventBridge

AWS Lambda → Amazon EventBridge

Publish events to EventBridge.

The Serverless 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.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-eventbridge-sls

Deploy

serverless deploy --verbose


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: serverless remove --verbose.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus"

Created by:

Alex Nelson

Senior Solutions Architect, AWS