Amazon EventBridge Scheduler to call AWS Lambda every 5 minutes with CDK

Amazon EventBridge Scheduler → Lambda

Simple pattern that triggers a .NET Lambda function every 5 minutes using Amazon EventBridge Scheduler and CDK

The CDK stack creates a Lambda function, a scheduled event trigger using the AWS Scheduler service, and an IAM role with the required permissions for the Lambda function to be 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/event-bridge-scheduler-lambda-cdk-dotnet

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Sanjay Chaudhari

Sanjay Chaudhari

Application Development Consultant at AWS Professional Services.

Follow on LinkedIn