EventBridge Webhook Events: how to set up, HMAC options, GitHub mapping and pricing

EventBridge now hosts webhook endpoints with HMAC, token or basic auth. How to set it up, map GitHub signatures, limits (1 MB, JSON only) and pricing.

Sanchana Charles21 November 202613 min read0 viewsAWS
EventBridge Webhook Events: how to set up, HMAC options, GitHub mapping and pricing

Amazon EventBridge can now receive webhooks directly. Since 20 November 2026, you can create a webhook event source on an enhanced Custom event bus. EventBridge gives you an HTTPS URL to paste into GitHub, a SaaS tool or your own app, checks each request's signature or token, and publishes the body to your bus. You no longer need API Gateway or a Lambda function just to accept the POST. There is no separate webhook fee: the events are billed as normal enhanced-bus ingress.

This guide covers what the feature does, how much it costs, the setup steps, how to pick an authentication type, and the limits that will trip you up. We haven't run it ourselves. Everything below comes from AWS's announcement and documentation.

What are EventBridge Webhook Events?

AWS's announcement says Webhook Events let "SaaS applications, AI agents, and custom integrations" send events to an enhanced Custom event bus over HTTPS. When you create a webhook event source, EventBridge sets up three things for you (AWS docs):

  • A webhook URL. A unique HTTPS URL that stays the same for the life of the source.
  • A secret. Stored in AWS Secrets Manager in your account. EventBridge only ever returns its ARN, never the value.
  • The event source on your bus. It links the URL and credential to the bus, and your subscribers then filter and deliver the events like any others.

The sender POSTs JSON to the URL. EventBridge verifies the request and publishes the raw body as the event's Data.

Important: this works only on the enhanced Custom event bus that AWS launched on 24 September 2026, not on what is now called the "Custom event bus – classic". The enhanced bus has its own eventsv2 CLI namespace, Subscriber resources, built-in retention (24 hours, extendable to a year), strict ordering and per-GB pricing. If all your rules sit on a classic bus, you'll need a new bus to use webhooks.

How is this different from what we had before?

EventBridge has supported webhooks for years, but not like this. Here's how the options compare:

Approach Who hosts the endpoint Signature check Extra compute Best for
Webhook Events (new) EventBridge Built in: HMAC, static token or basic auth None Any provider whose signing scheme fits the HMAC options
Partner event source (e.g. Stripe, Shopify) The SaaS provider pushes into EventBridge Not needed; the provider is trusted through AWS None Providers with a native EventBridge integration
API Gateway or Lambda function URL + Lambda + PutEvents You You write it Lambda per request Unusual signing schemes, or when you need to transform or reply in custom code
API destinations Not applicable; this is outbound Not applicable Not applicable Sending events from EventBridge to someone else's webhook

If your provider already has a native EventBridge integration, you probably don't need this. Stripe, for example, offers an Amazon EventBridge event destination, and its webhook docs say signature verification "isn't needed" when events arrive through a cloud provider such as EventBridge. Webhook Events fills the gap for everything else, including GitHub, internal tools and AI agents calling back.

How much do EventBridge Webhook Events cost?

AWS says events received through a webhook are billed as standard Custom event bus ingress, with no extra charge for the webhook itself. The enhanced bus is priced on data volume, not event count.

From the worked examples on the EventBridge pricing page (the live price table loads per region, so check yours):

Dimension Rate shown in AWS's examples
Ingress, first 5 TB per month $0.18 per GB
Ingress, next tier (5–25 TB) $0.12 per GB
Egress (delivery to each subscription) $0.05 per GB
Event evaluation features such as de-duplication $0.15 per million events (charged only when configured)
Storage, first 24 hours Included

Worked estimate (ours, using the rates above): one million 2 KB webhooks a month is about 2 GB in, so roughly $0.36 ingress. Delivering them to one subscription adds about 2 GB × $0.05 = $0.10. Switching on content-based de-duplication adds about $0.15. That's about $0.61 a month before any Lambda or other target costs. This is an estimate, not an AWS quote. AWS's own example works the same way: 1 million 2 KB events to two subscriptions comes to $0.56.

Two costs to watch:

  • The Secrets Manager secret. Every webhook source stores its credential as a Secrets Manager secret in your account. The webhook docs don't say whether it's billed at the normal Secrets Manager rate ($0.40 per secret per month in AWS's Secrets Manager pricing examples). Check your bill after the first month.
  • Your new-account limits. If you're experimenting on a fresh account, set up a budget or a spend limit first. Our AWS Free Tier explainer covers which credits apply.

How do I set up an EventBridge webhook? (step by step)

AWS documents the setup through the CreateEventSource API. In outline:

  1. Create (or pick) an enhanced Custom event bus in a Region where it's available. At launch the enhanced bus was in 14 Regions, including N. Virginia, Ohio, Oregon, Ireland, Frankfurt, Tokyo, Singapore, Sydney and Mumbai.
  2. Create an IAM role that trusts events.amazonaws.com and allows events:PutWebhookEvents on the bus and secretsmanager:GetSecretValue on the webhook secret. Add kms:Decrypt only if you use a customer managed KMS key. If the role can't read the secret, every request is rejected with a 403.
  3. Create the webhook event source with an AuthConfiguration (HMAC, static token or basic auth), the role ARN and, optionally, a KMS key, header passthrough and de-duplication settings.
  4. Copy the WebhookUrl from the CreateEventSource or DescribeEventSource response. EventBridge redacts the URL in CloudTrail and logs, so save it from the response.
  5. Get the secret value from Secrets Manager using the returned SecretArn (if EventBridge generated it), and enter it in the sending system.
  6. Add a Subscriber on the bus with a filter and a target, for example Lambda, SQS or Step Functions.
  7. Send a test delivery from the provider and confirm a 200 response and that the event reaches your target.

This is the HMAC example from AWS's documentation, verbatim. EventBridge generates the secret because none is supplied:

aws eventsv2 create-event-source \
    --name orders-provider \
    --event-bus-arn arn:aws:events:us-east-1:111122223333:event-busv2/orders/EXAMPLE1234567890abcdef \
    --configuration '{
        "WebhookEventsConfiguration": {
            "AuthConfiguration": {
                "HmacAuthConfiguration": {
                    "Algorithm": "SHA256",
                    "Encoding": "HEX",
                    "SignatureHttpHeader": "X-Signature",
                    "SignedMessageComposition": "BODY"
                }
            },
            "RoleArn": "arn:aws:iam::111122223333:role/orders-provider-webhook-role",
            "KmsKeyIdentifier": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
        }
    }'

If you already wire up API Gateway authorizers by hand, the difference is clear: no authorizer, no Lambda and no code. Compare our walkthrough of API Gateway JWT authorizers.

Which authentication should I choose: HMAC, static token or basic auth?

You choose one type when you create the source, and it can't be changed later. To switch, you have to create a new source, which means a new URL.

Type What the sender does Protects message integrity? Replay protection? Use when
HMAC signature Signs the request with a shared secret Yes Yes, if you include a timestamp The provider signs webhooks. This is the default choice.
Static token Sends a fixed token in a header you name No No Simple internal senders, or tools that only support a custom header
Basic auth Sends a username and password No No Older systems that only support HTTP Basic

AWS's docs say token and basic auth verify who is calling but not that the payload is unchanged, and recommend HMAC with a timestamp instead.

HMAC options you can configure

  • Algorithm: SHA256 or SHA1
  • Encoding: HEX or BASE64
  • Signed message: BODY, TIMESTAMP_DOT_BODY or MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY
  • Timestamp tolerance: 1–900 seconds (default 300)
  • Prefixes and delimiters: SignaturePrefix, TimestampPrefix and Delimiter (1–64 characters each) for headers such as t=…,v1=…
  • Secret: 6–512 characters, RAW or BASE64 encoded. With BASE64, a whsec_ prefix is stripped automatically.

AWS says it supports the Standard Webhooks specification and gives a ready-made configuration for it (headers webhook-id, webhook-timestamp and webhook-signature, with the v1, prefix). It also warns that "not every provider's scheme can be expressed with these options".

Example: mapping GitHub webhooks

According to GitHub's documentation, GitHub sends an HMAC-SHA256 hex digest of the payload in X-Hub-Signature-256, always prefixed with sha256=, and with no timestamp. Going by AWS's field definitions, that should map to:

EventBridge field Value for GitHub
Algorithm SHA256
Encoding HEX
SignatureHttpHeader X-Hub-Signature-256
SignedMessageComposition BODY
SignaturePrefix sha256=
SecretValue The secret you set on the GitHub webhook

This mapping is our reading of both sets of docs, not something AWS has published. Use GitHub's "Recent deliveries" redelivery button to confirm you get a 200. Because GitHub doesn't sign a timestamp, you get no replay protection from the signature. Also make sure the GitHub webhook's content type is set to application/json, since EventBridge rejects bodies that aren't valid JSON.

Limits and gotchas to know before you switch

From AWS's documentation:

  • 1 MB maximum request size, counting the body plus any headers you copy into metadata.
  • POST only, and the body must be valid JSON. Anything else gets a 400.
  • Headers aren't passed through by default. List up to 20 in MetadataHttpHeaders. Values over 1,024 bytes are dropped. Credential, signature and network-path headers (Authorization, Host, X-Forwarded-*) can't be listed.
  • No source or detail-type. Webhook events don't set aws:Source or aws:DetailType, so your subscriber filters have to match on the body or the copied headers.
  • De-duplication is content-based only, over a 5-minute window. If you copy a header that changes on every retry (such as a delivery ID or timestamp), each retry hashes differently and de-duplication won't catch it.
  • No published rate limit. Throttled requests get a 429, and the sender should retry with backoff.
  • Credential rotation with RotateWebhookCredentials keeps the same URL. The old credential keeps working for 15 minutes, so update the sender within that window. For cross-account secret patterns, see our Secrets Manager replication guide.
  • Turning it off: RevokeResource is permanent (later requests get a 403). DeleteEventSource removes the source. A Deny on events:PutWebhookEvents in the bus policy is the reversible option.

Response codes the sender will see

Status Meaning
200 Accepted and published, or dropped as a duplicate
400 Malformed: not JSON, over 1 MB, or not a POST
403 Bad signature or token, expired timestamp, revoked source, or the role can't read the secret
404 Unknown or altered URL, or the source or bus no longer exists
429 Throttled; retry with backoff
500 Transient error; retry

Should you replace your API Gateway + Lambda webhook receiver?

A quick checklist:

  • ✅ Yes, probably, if your Lambda only checks a signature and calls PutEvents. That's exactly what this feature replaces.
  • ✅ Yes, if the provider supports Standard Webhooks, or a scheme that fits the HMAC fields as GitHub's does.
  • ⚠️ Maybe not yet, if the provider sends form-encoded bodies or XML, signs with a scheme the fields can't express, or needs a custom response body (the EventBridge endpoint answers with its own status codes).
  • ⚠️ Not without a migration, if everything runs on a classic bus. Webhooks need the enhanced bus.
  • ❌ No need, if the provider already offers a native EventBridge partner source.

Editor's take

This is one of the more useful items in AWS's busy run of pre-re:Invent launches. Webhook receivers are boilerplate that nobody enjoys running, and getting signature checks wrong is a common security bug. Moving that into a managed endpoint with Standard Webhooks support is a real improvement. The catches are that it requires the new enhanced bus, the authentication type is fixed at creation, and content-only de-duplication behaves differently from the delivery-ID checks most teams write themselves. Test with a real provider before you retire your Lambda receiver. If you're curious how Amazon's own infrastructure decisions are going in Oregon, home of the us-west-2 Region, see today's other story on Oregon's data center pause.

What developers are saying: this launched late on Friday 20 November, and we haven't found a Reddit or Hacker News thread discussing it yet. The questions readers are already searching are "EventBridge vs webhook", "GitHub webhook to EventBridge" and "Stripe webhook to EventBridge". The comparison table and FAQ cover all three.

FAQ

Can EventBridge receive webhooks?

Yes. Since 20 November 2026, an enhanced Custom event bus can have a webhook event source with an EventBridge-hosted HTTPS URL. Before that, you needed a partner integration or your own API Gateway or Lambda endpoint.

What is the difference between EventBridge and a webhook?

A webhook is an HTTP POST that one system sends to another when something happens. EventBridge is an event bus that routes events to many targets with filtering. With Webhook Events, a webhook becomes an input to EventBridge, which then fans it out to subscribers.

How do I send GitHub webhooks to EventBridge?

Create an HMAC webhook source with SHA256, HEX, the X-Hub-Signature-256 header, BODY composition and the sha256= prefix. Then paste the EventBridge URL and secret into GitHub's webhook settings with the content type set to JSON. See the mapping table above, and test with a redelivery.

How do I send Stripe webhooks to EventBridge?

Stripe already offers a native Amazon EventBridge event destination, which is usually simpler than a webhook source because no signature verification is needed.

Does EventBridge webhook support HMAC SHA256?

Yes. HMAC supports SHA256 and SHA1, with hex or base64 encoding, and can sign the body, timestamp + body, or message ID + timestamp + body.

What is the EventBridge webhook payload size limit?

1 MB per request, including any headers copied into event metadata.

Is there an extra charge for EventBridge Webhook Events?

No webhook-specific fee. Requests are billed as enhanced Custom event bus ingress, which AWS's pricing examples show at $0.18 per GB for the first 5 TB a month, plus egress to subscribers.

Does it work with the classic EventBridge custom bus?

No. Webhook Events are available only on the enhanced Custom event bus, in Regions where that bus is offered.

Sources

Featured image: Aerial view of an AWS data center building at sunset (Amazon press photo; location not specified, not specific to EventBridge). Source

Share:

Comments

Leave a comment