Amazon EventBridge to AWS Lambda

EventBridge → AWS Lambda

Create an EventBridge rule that invokes a Lambda function

This project contains a sample AWS CDK template for invoking AWS Lambda from an Amazon EventBridge Rule.
The EventBridge rule filters the events based upon the defined criteria. When matching events are sent to EventBridge that trigger the rule, they are delivered as a JSON event payload to the Lambda function.
It also creates a CloudWatch Log Group for the Lambda function for observation of incoming events, with a retention and removal policy.

< 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/eventbridge-lambda-dotnet-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Amir Khairalomoum

Amir Khairalomoum

Amir is a Sr. Solutions Architect at AWS. He supports customers in their digital transformation and their cloud journey to AWS. He is passionate about serverless technologies.

Follow on LinkedIn