Amazon EventBridge CloudEvents Input Transformer to AWS Lambda

Amazon EventBridge → AWS Lambda

Use an EventBridge input transformer to convert events to CloudEvents format and send them to a Lambda function.

EventBridge events are converted to CloudEvents using an input transformer in a rule on a custom event bus. A Lambda function is configured as a target for that rule. The Lambda function uses the CloudEvents TypeScript SDK to deserialize and validate incoming CloudEvents.

< 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-cloudevents-transformer-cdk-typescript

Deploy

cdk deploy


Testing

See the README in the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Michael Gasch

Michael Gasch

Senior Product Manager Technical for Amazon EventBridge.

Follow on LinkedIn