Delayed processing of Amazon DynamoDB stream with Amazon EventBridge Scheduler

DynamoDB → EventBridge Scheduler

Create a workflow using CDK to process DynamoDB stream at scheduled time window.

This pattern demonstrates a sample to delay processing of data or workflow using an Amazon EventBridge Scheduler. A schedule that invokes a target one-time or at regular intervals defined by a cron or rate expression. EventBridge scheduling functionality that provides scheduling functionality independent of Event buses and rules. You can create a schedule to invoke targets such as AWS Batch.
With Amazon EventBrdige Schedule you can invoke more than 270 AWS services and over 6,000 API operations. Without the need to provision and manage infrastructure, or integrate with multiple services, EventBridge Scheduler provides you with the ability to deliver schedules at scale and reduce maintenance costs.
This pattern deploys one Amazon APIGateway, two AWS Lambda Functions, one Amazon DynamoDB Stream, one Amazon SQS queue, and two Amazon EventBridge Schedule Groups.

< 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/apigw-dynamodb-lambda-scheduler-sqs-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Shashank Shrivastava

Shashank Shrivastava

Sr. Cloud Application Architect at Amazon Web Services.