Amazon EventBridge to Amazon Kinesis

Amazon EventBridge → Kinesis Datastreams

Create an EventBridge event bus and rule that publishes matched events to Amazon Kinesis.

This pattern creates an EventBridge event bus and rule that publishes matched events to Amazon Kinesis. In this example, the rule filters for specific attributes in the event before sending to the Kinesis Data Stream.

< 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-kinesis

Deploy

sam deploy --guided


Testing

Use the AWS CLI to send a test event to EventBridge and observe the event delivered to the Kinesis Data Stream:
1. Send an event to EventBridge: aws events put-events --entries file://event.json
2. Monitor the event bus cloud watch metrics to check the target invocations. Similarly monitor the Kinesis Data Stream metrics to check if matched events are available.

Cleanup

Delete the stack: sam delete

Created by:

Sangram Sonawane

Sangram Sonawane

Senior Solutions Architect, Amazon Web Services

Follow on LinkedIn