Amazon EventBridge
amazonaws · Cloud
Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your resources change state, they automatically send events to an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a predetermined schedule. For example, you can configure rules to: Automatically invoke an Lambda function to update DNS entries when an event notifies yo
Authentication
Sample Requests
Activates a partner event source that has been deactivated. Once activated, your matching event bus will start receiving events from the event source.
Hover any highlighted part to learn what it does
| X-Amz-Target | AWSEvents.ActivateEventSource |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource" \ -H "X-Amz-Target: AWSEvents.ActivateEventSource"
import requests
headers = {
"X-Amz-Target": "AWSEvents.ActivateEventSource"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'AWSEvents.ActivateEventSource'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "AWSEvents.ActivateEventSource")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "AWSEvents.ActivateEventSource"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.ActivateEventSource";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: AWSEvents.ActivateEventSource"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Cancels the specified replay.
Hover any highlighted part to learn what it does
| X-Amz-Target | AWSEvents.CancelReplay |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay" \ -H "X-Amz-Target: AWSEvents.CancelReplay"
import requests
headers = {
"X-Amz-Target": "AWSEvents.CancelReplay"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'AWSEvents.CancelReplay'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "AWSEvents.CancelReplay")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "AWSEvents.CancelReplay"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CancelReplay";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: AWSEvents.CancelReplay"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
Hover any highlighted part to learn what it does
| X-Amz-Target | AWSEvents.CreateApiDestination |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination" \ -H "X-Amz-Target: AWSEvents.CreateApiDestination"
import requests
headers = {
"X-Amz-Target": "AWSEvents.CreateApiDestination"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'AWSEvents.CreateApiDestination'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "AWSEvents.CreateApiDestination")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "AWSEvents.CreateApiDestination"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/eventbridge/2015-10-07/#X-Amz-Target=AWSEvents.CreateApiDestination";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: AWSEvents.CreateApiDestination"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon EventBridge?
Amazon EventBridge is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon EventBridge is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?