Amazon EventBridge to Amazon CloudWatch Logs

Amazon EventBridge → Amazon CloudWatch Logs

Create an EventBridge rule that sends events to CloudWatch Logs.

This project contains a sample AWS CDK template to create an EventBridge Rule and a CloudWatch Logs log group.
The EventBridge Rule publishes matched events to CloudWatch Logs.
In this example, the rule filters for specific attributes in the event before sending to the target.

< 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-cloudwatch-cdk-java

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Matt Ridehalgh

Matt Ridehalgh

Matt Ridehalgh is a Solutions Architect at AWS.

Follow on LinkedIn