Idempotent HTTP requests with Amazon EventBridge API Destinations

EventBridge rule → Connection → API

Create an EventBridge event bus and API Destination to reliably send events to HTTP APIs.

This pattern describes how to use EventBridge API Destinations with the IETF HTTP Idempotency-Key header to invoke HTTP APIs supporting idempotent API operations.
Using API destinations, you can route events between AWS services, integrated software as a service (SaaS) applications, and your applications outside of AWS by using API calls.

< 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-api-destinations-idempotency-cdk

Deploy

cdk deploy


Testing

See 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