---
title: "Create an Amazon EventBridge source"
method: POST
path: "/api/v2/integration/aws/event_bridge"
tags: ["AWS Integration"]
---

# Create an Amazon EventBridge source

`POST /api/v2/integration/aws/event_bridge`

Create an Amazon EventBridge source.

## Request body

- AWSEventBridgeCreateRequest — Amazon EventBridge create request body.
  - `data` AWSEventBridgeCreateRequestData, required — Amazon EventBridge create request data.
    - `attributes` AWSEventBridgeCreateRequestAttributes, required — The EventBridge source to be created.
      - `account_id` string, required — AWS Account ID.
      - `create_event_bus` boolean — Set to true if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission.
      - `event_generator_name` string, required — The given part of the event source name, which is then combined with an assigned suffix to form the full name.
      - `region` string, required — The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
    - `type` 'event_bridge', required — Amazon EventBridge resource type.

## Response `200`

Amazon EventBridge source created.

- AWSEventBridgeCreateResponse — Amazon EventBridge create response body.
  - `data` AWSEventBridgeCreateResponseData, required — Amazon EventBridge create response data.
    - `attributes` AWSEventBridgeCreateResponseAttributes, required — A created EventBridge source.
      - `event_source_name` string — The event source name.
      - `has_bus` boolean — True if the event bus was created in addition to the source.
      - `region` string — The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
      - `status` 'created' — The event source status "created".
    - `id` string — The ID of the Amazon EventBridge create response data.
    - `type` 'event_bridge', required — Amazon EventBridge resource type.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `409` — Conflict
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
