{"id":2496,"date":"2026-11-01T13:00:00","date_gmt":"2026-11-01T07:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/"},"modified":"2026-11-15T22:00:24","modified_gmt":"2026-11-15T16:30:24","slug":"salesforce-event-relay-aws","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/","title":{"rendered":"Salesforce Event Relay to Amazon EventBridge Explained"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Salesforce Event Relay sends platform events and change data capture events straight into Amazon EventBridge, with no middleware and no client to host. You create a channel, point a relay at an AWS named credential, switch it on, and events start arriving in AWS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is a real shift for integration teams. The usual alternative is a subscriber you write, host, monitor and restart. Here the platform does the delivery, and your AWS rules decide what happens next.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-1-1024x640.png\" alt=\"Salesforce Event Relay diagram showing channel, relay and EventBridge\" class=\"wp-image-2494\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-1-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The relay reads a channel, so the channel members decide which events travel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Salesforce Event Relay<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Salesforce Event Relay is configuration rather than code. Four things have to exist.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Piece<\/th><th>What it is<\/th><\/tr><\/thead><tbody><tr><td>An event channel<\/td><td>A custom channel record, named with a chn suffix<\/td><\/tr><tr><td>Channel members<\/td><td>Which platform events or change events feed the channel<\/td><\/tr><tr><td>A named credential<\/td><td>Your AWS account and region, with signature based auth<\/td><\/tr><tr><td>An EventRelayConfig<\/td><td>The relay itself, pointing at the channel and the credential<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The relay config is small.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;EventRelayConfig xmlns=\"http:\/\/soap.sforce.com\/2006\/04\/metadata\"&gt;\n  &lt;destinationResourceName&gt;callout:AWS_Account&lt;\/destinationResourceName&gt;\n  &lt;eventChannel&gt;Course_Channel__chn&lt;\/eventChannel&gt;\n  &lt;label&gt;Course Relay&lt;\/label&gt;\n  &lt;relayOption&gt;{\"ReplayRecovery\":\"LATEST\"}&lt;\/relayOption&gt;\n  &lt;state&gt;STOP&lt;\/state&gt;\n&lt;\/EventRelayConfig&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Two rules in a Salesforce Event Relay file catch people out. The <code>destinationResourceName<\/code> carries the <code>callout:<\/code> prefix and names a named credential, not an AWS ARN. And a new relay is created in the <code>STOP<\/code> state, since the AWS side has to be connected before anything flows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Four States<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>State<\/th><th>What it means<\/th><\/tr><\/thead><tbody><tr><td>STOP<\/td><td>Nothing is relayed, and current state information is cleared<\/td><\/tr><tr><td>RUN<\/td><td>Events are actively relayed to EventBridge<\/td><\/tr><tr><td>PAUSE<\/td><td>An admin paused it, and position information is kept<\/td><\/tr><tr><td>ERROR<\/td><td>The relay stopped because of a problem, such as a credential failure<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A Salesforce Event Relay allows only <code>state<\/code> and <code>relayOption<\/code> to be updated after creation. Changing the channel or the destination means a new relay, which is worth knowing before you name things.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Salesforce Event Relay Matters<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Benefit<\/th><th>What it saves you<\/th><\/tr><\/thead><tbody><tr><td>No client to host<\/td><td>A service, its monitoring and its restarts<\/td><\/tr><tr><td>No middleware<\/td><td>A licence and a hop in the path<\/td><\/tr><tr><td>Native AWS routing<\/td><td>EventBridge rules reach Lambda, SQS, Step Functions<\/td><\/tr><tr><td>Recovery options<\/td><td>A choice between catching up and skipping ahead<\/td><\/tr><tr><td>Setup in metadata<\/td><td>The relay deploys like any other component<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That last row matters more than it sounds. Because the relay is a metadata component, it moves through the same pipeline as everything else, which the post on <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-metadata-tooling-api\/\">the Metadata API<\/a> covers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting It Up Step by Step<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the custom platform event channel, with a <code>chn<\/code> suffix on the name<\/li>\n\n<li>Add channel members for each platform event or change event you want relayed<\/li>\n\n<li>Create a named credential holding the AWS account id and region, using signature based authentication<\/li>\n\n<li>Deploy the EventRelayConfig in the stopped state<\/li>\n\n<li>In the AWS console, find the new partner event source and associate it with an event bus<\/li>\n\n<li>Set the relay state to running<\/li>\n\n<li>Add EventBridge rules to route the events to a target<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Step five is the Salesforce Event Relay step people miss. Until the partner event source is associated with a bus on the AWS side, the relay has nowhere to deliver and the state will not stay running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sf data update record --use-tooling-api \\\n  --sobject EventRelayConfig --where \"DeveloperName='Course_Relay'\" \\\n  --values \"Metadata={\\\"state\\\":\\\"RUN\\\"}\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Choosing a Channel Member<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A Salesforce Event Relay channel can carry several event types, which is how one relay feeds a whole AWS workflow.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Member type<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td>A custom platform event<\/td><td>Course_Enrolled__e<\/td><\/tr><tr><td>A change event for an object<\/td><td>Course__ChangeEvent<\/td><\/tr><tr><td>Several of each<\/td><td>One channel, one relay, many event types<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Keep a channel focused. A relay carrying twelve unrelated event types becomes hard to reason about, and the AWS rules end up filtering noise you could have left out.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Replay Recovery Explained<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When a Salesforce Event Relay has to recover, the <code>relayOption<\/code> setting decides what happens to events it missed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Setting<\/th><th>What you get<\/th><\/tr><\/thead><tbody><tr><td>LATEST<\/td><td>Start from new events, and skip whatever was missed<\/td><\/tr><tr><td>EARLIEST<\/td><td>Resend everything still in the event bus, then continue<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The event bus stores events for up to three days, so <code>EARLIEST<\/code> can only catch up inside that window. Pick <code>LATEST<\/code> for notifications where a missed message does not matter and <code>EARLIEST<\/code> for anything that must be processed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a catch worth planning for. <code>EARLIEST<\/code> can resend events the AWS side already handled, so the target has to be safe to run twice. That is the same rule every event system asks for, and the post on <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-platform-events-apex\/\">platform events<\/a> covers it from the Salesforce side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Salesforce Event Relay vs a Pub\/Sub API Client<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-2-1024x640.png\" alt=\"Salesforce Event Relay and Pub\/Sub API comparison diagram\" class=\"wp-image-2495\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-diagram-2-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The relay wins on effort, and a client wins on control and choice of destination.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Need<\/th><th>Pick<\/th><\/tr><\/thead><tbody><tr><td>Events into Lambda with nothing to host<\/td><td>Event Relay<\/td><\/tr><tr><td>A destination outside AWS<\/td><td>Pub\/Sub API client<\/td><\/tr><tr><td>Fine grained replay id control<\/td><td>Pub\/Sub API client<\/td><\/tr><tr><td>No service for the team to maintain<\/td><td>Event Relay<\/td><\/tr><tr><td>Transformation before delivery<\/td><td>Pub\/Sub API client, or an EventBridge rule<\/td><\/tr><tr><td>Several AWS targets from one stream<\/td><td>Event Relay<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The post on <a href=\"https:\/\/swapnilzambare.com\/blog\/pub-sub-api-salesforce-grpc\/\">Pub\/Sub API<\/a> covers the client route in detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Real Salesforce Event Relay Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Salesforce Event Relay removed a server for us. Bright Path Tutors sends every new enrolment to an AWS pipeline that generates an invoice PDF and files it in storage. The first build used a hosted subscriber on a small server.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Problem<\/th><th>What it cost<\/th><\/tr><\/thead><tbody><tr><td>A server to maintain<\/td><td>Patching, monitoring, an on call rota<\/td><\/tr><tr><td>Restarts after deploys<\/td><td>Two missed batches in six months<\/td><\/tr><tr><td>A separate credential store<\/td><td>A yearly rotation task<\/td><\/tr><tr><td>No visibility in Salesforce<\/td><td>Nobody knew when it stopped<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We moved to a channel with two members and one relay.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Measure<\/th><th>Hosted client<\/th><th>Event Relay<\/th><\/tr><\/thead><tbody><tr><td>Servers to maintain<\/td><td>1<\/td><td>0<\/td><\/tr><tr><td>Missed batches in six months<\/td><td>2<\/td><td>0<\/td><\/tr><tr><td>Credential locations<\/td><td>2<\/td><td>1, a named credential<\/td><\/tr><tr><td>Where the state is visible<\/td><td>A log file<\/td><td>The relay record in Salesforce<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Removing the server was the obvious saving. Seeing the relay state inside Salesforce is what the support team actually valued, since a stopped relay is now visible to the admin rather than hidden in a log.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Limits and Things to Watch<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The destination is Amazon EventBridge only, so other clouds need a different route<\/li>\n\n<li>Events are stored in the bus for up to three days, which caps how far back recovery reaches<\/li>\n\n<li>Only the state and the replay option can be changed after a relay is created<\/li>\n\n<li>Relayed events count against your event delivery allocations<\/li>\n\n<li>An error state needs a human, since the relay does not restart itself<\/li>\n\n<li>The named credential must use signature based authentication for AWS, not a bearer token<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The Salesforce Event Relay error state is the one to build a habit around. Add a report or a scheduled check on the relay records so a stopped relay is noticed in hours rather than days.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Salesforce Event Relay<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Mistake<\/th><th>What you see<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>An ARN in destinationResourceName<\/td><td>A deployment or runtime error<\/td><td>Use the callout prefix and a named credential<\/td><\/tr><tr><td>Partner source never associated in AWS<\/td><td>The relay will not stay running<\/td><td>Associate the source with an event bus<\/td><\/tr><tr><td>Creating the relay in the running state<\/td><td>A rejected create<\/td><td>Create it stopped, then switch it on<\/td><\/tr><tr><td>Trying to change the channel later<\/td><td>An update error<\/td><td>Create a new relay instead<\/td><\/tr><tr><td>EARLIEST with a non idempotent target<\/td><td>Duplicate invoices or records<\/td><td>Make the AWS target safe to run twice<\/td><\/tr><tr><td>No monitoring of the relay state<\/td><td>Days of silence<\/td><td>Report on the relay records<\/td><\/tr><tr><td>Twelve event types on one channel<\/td><td>Noisy rules and confusion<\/td><td>Keep channels focused<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Salesforce Event Relay<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep one channel per business purpose rather than one channel for everything<\/li>\n\n<li>Name the channel and the relay after the purpose, since neither can be repointed later<\/li>\n\n<li>Choose the replay option deliberately and write down why<\/li>\n\n<li>Make every AWS target idempotent, because recovery can resend<\/li>\n\n<li>Monitor the relay state with a report or a scheduled job<\/li>\n\n<li>Keep the named credential in metadata so the setup deploys with the relay<\/li>\n\n<li>Filter in EventBridge rules rather than sending everything to one target<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Most Asked Salesforce Event Relay Interview Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q1: What does an event relay do?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It sends platform events and change data capture events from Salesforce to Amazon EventBridge with no client to host.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q2: What four pieces are needed?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An event channel, channel members, a named credential for AWS, and an EventRelayConfig.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q3: What suffix does a custom event channel use?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A chn suffix on the channel name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q4: What goes in destinationResourceName?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A named credential name with the callout prefix, not an AWS ARN.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q5: What state is a new relay created in?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stopped, since the AWS side must be connected first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q6: Name the four relay states.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stopped, running, paused and error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q7: Which fields can you update after creation?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Only the state and the replay option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q8: What happens if you need a different channel?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You create a new relay, since the channel cannot be changed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q9: What does the LATEST replay option do?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It starts from new events after a recovery and skips what was missed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q10: What does EARLIEST do?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It resends everything still stored in the bus, then continues with new events.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q11: How long are events stored in the bus?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Up to three days, which caps how far recovery can reach.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q12: Why must an AWS target be idempotent?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because recovery with EARLIEST can resend events the target already handled.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q13: What has to happen on the AWS side?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The partner event source must be associated with an event bus.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q14: What happens if that step is skipped?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The relay has nowhere to deliver, so it will not stay in the running state.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q15: What authentication does the named credential use?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Signature based authentication for AWS, with the account id and region.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q16: Can a channel carry both platform events and change events?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Channel members can mix both types.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q17: Does the relay restart itself after an error?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No. An error state needs someone to look at it and switch it back on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q18: How do you monitor it?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With a report or a scheduled job over the relay records, since the state is visible in Salesforce.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q19: How does it compare with a Pub\/Sub API client?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The relay needs no hosting but only reaches EventBridge, while a client can deliver anywhere with full replay control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q20: When would you still write a client?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a destination outside AWS, for transformation before delivery, or for precise replay handling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q21: Do relayed events count against limits?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. They count against your event delivery allocations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q22: Which AWS targets are common?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Lambda functions, queues and step functions, routed by EventBridge rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q23: Scenario: the relay flips to error every morning. Where do you look?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The named credential and the AWS side, since a credential or bus problem is the usual cause.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q24: Scenario: duplicate invoices appear after an outage. Why?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EARLIEST recovery resent events and the AWS target was not idempotent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q25: Scenario: nothing arrives in AWS and the relay says stopped. What is missing?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Either the partner source association or the switch to the running state.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q26: Scenario: the team wants to add a second object to the stream. What do you change?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add a channel member for its change event, with no change to the relay itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q27: Does the relay transform the event payload?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No. Transformation belongs in an EventBridge rule or in the target.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q28: Can the relay be deployed through a pipeline?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. It is a metadata component with an eventRelay suffix.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q29: What is the habit that keeps a relay healthy?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Monitor the state, keep channels focused, and make every target safe to run twice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.platform_events.meta\/platform_events\/\" target=\"_blank\" rel=\"noopener noreferrer\">Platform Events Developer Guide<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.api_meta.meta\/api_meta\/\" target=\"_blank\" rel=\"noopener noreferrer\">Metadata API Developer Guide<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.change_data_capture.meta\/change_data_capture\/\" target=\"_blank\" rel=\"noopener noreferrer\">Change Data Capture Developer Guide<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Next<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, read <a href=\"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/\">Heroku AppLink for Salesforce Developers Explained<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce Event Relay sends platform events and change data capture events straight into Amazon EventBridge, with no middleware and no client to host. You&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2493,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[246,8,96],"tags":[68,81],"swapz_series":[],"class_list":["post-2496","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integration-apis","category-salesforce","category-salesforce-developer","tag-advanced","tag-integration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Salesforce Event Relay to Amazon EventBridge<\/title>\n<meta name=\"description\" content=\"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce Event Relay to Amazon EventBridge\" \/>\n<meta property=\"og:description\" content=\"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-01T07:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-15T16:30:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\"},\"headline\":\"Salesforce Event Relay to Amazon EventBridge Explained\",\"datePublished\":\"2026-11-01T07:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/\"},\"wordCount\":1939,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-event-relay-aws-featured.png\",\"keywords\":[\"Advanced\",\"Integration\"],\"articleSection\":[\"Integration and APIs\",\"Salesforce\",\"Salesforce Developer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/\",\"name\":\"Salesforce Event Relay to Amazon EventBridge\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-event-relay-aws-featured.png\",\"datePublished\":\"2026-11-01T07:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:24+00:00\",\"description\":\"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-event-relay-aws-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/salesforce-event-relay-aws-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"Salesforce Event Relay featured image showing events moving from Salesforce into an AWS event bus\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-event-relay-aws\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce Event Relay to Amazon EventBridge Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Salesforce Event Relay to Amazon EventBridge","description":"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/","og_locale":"en_US","og_type":"article","og_title":"Salesforce Event Relay to Amazon EventBridge","og_description":"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.","og_url":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-11-01T07:30:00+00:00","article_modified_time":"2026-11-15T16:30:24+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a"},"headline":"Salesforce Event Relay to Amazon EventBridge Explained","datePublished":"2026-11-01T07:30:00+00:00","dateModified":"2026-11-15T16:30:24+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/"},"wordCount":1939,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png","keywords":["Advanced","Integration"],"articleSection":["Integration and APIs","Salesforce","Salesforce Developer"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/","url":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/","name":"Salesforce Event Relay to Amazon EventBridge","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png","datePublished":"2026-11-01T07:30:00+00:00","dateModified":"2026-11-15T16:30:24+00:00","description":"Salesforce Event Relay pushes platform events and change events straight to Amazon EventBridge with no middleware. Learn the setup, states and replay.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/salesforce-event-relay-aws-featured.png","width":2400,"height":1260,"caption":"Salesforce Event Relay featured image showing events moving from Salesforce into an AWS event bus"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-event-relay-aws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Salesforce Event Relay to Amazon EventBridge Explained"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=2496"}],"version-history":[{"count":2,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2496\/revisions"}],"predecessor-version":[{"id":3401,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2496\/revisions\/3401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/2493"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=2496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=2496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=2496"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=2496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}