Amazon EventBridge · Arazzo Workflow

Amazon EventBridge Archive Event Bus

Version 1.0.0

Create a bus, resolve its ARN, then archive matching events from it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesEvent BusEvent-DrivenEventIntegrationServerlessArazzoWorkflows

Provider

amazon-eventbridge

Workflows

archive-event-bus
Create an event bus and an archive that captures its events.
Creates a custom event bus, describes it to obtain its ARN, and creates an archive that uses that ARN as its event source so matching events are retained.
3 steps inputs: archiveDescription, archiveName, eventBusName, eventPattern, retentionDays outputs: archiveArn, archiveState, eventBusArn
1
createEventBus
Create the custom event bus whose events will be archived.
2
describeEventBus
Describe the event bus to resolve the ARN the archive will source from.
3
createArchive
Create an archive that retains matching events from the event bus.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EventBridge Archive Event Bus
  summary: Create a bus, resolve its ARN, then archive matching events from it.
  description: >-
    Sets up durable event capture: the workflow creates a custom event bus,
    describes it to resolve the ARN that an archive must reference as its event
    source, and then creates an archive that retains matching events from that
    bus. Every step spells out its AWS JSON request inline — including the
    documented X-Amz-Target header — so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: archivesApi
  url: ../openapi/amazon-eventbridge-archives-api-openapi.yml
  type: openapi
- name: eventBusesApi
  url: ../openapi/amazon-eventbridge-event-buses-api-openapi.yml
  type: openapi
workflows:
- workflowId: archive-event-bus
  summary: Create an event bus and an archive that captures its events.
  description: >-
    Creates a custom event bus, describes it to obtain its ARN, and creates an
    archive that uses that ARN as its event source so matching events are
    retained.
  inputs:
    type: object
    required:
    - eventBusName
    - archiveName
    properties:
      eventBusName:
        type: string
        description: The name of the custom event bus to create and archive from.
      archiveName:
        type: string
        description: The name of the archive to create.
      eventPattern:
        type: string
        description: An optional event pattern (JSON string) limiting which events are archived.
      retentionDays:
        type: integer
        description: How many days to retain archived events; 0 retains indefinitely.
      archiveDescription:
        type: string
        description: An optional human-readable description for the archive.
  steps:
  - stepId: createEventBus
    description: Create the custom event bus whose events will be archived.
    operationId: CreateEventBus
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSEvents.CreateEventBus
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        Name: $inputs.eventBusName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      eventBusArn: $response.body#/EventBusArn
  - stepId: describeEventBus
    description: Describe the event bus to resolve the ARN the archive will source from.
    operationId: DescribeEventBus
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSEvents.DescribeEventBus
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        Name: $inputs.eventBusName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      eventSourceArn: $response.body#/Arn
  - stepId: createArchive
    description: Create an archive that retains matching events from the event bus.
    operationId: CreateArchive
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSEvents.CreateArchive
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        ArchiveName: $inputs.archiveName
        EventSourceArn: $steps.describeEventBus.outputs.eventSourceArn
        Description: $inputs.archiveDescription
        EventPattern: $inputs.eventPattern
        RetentionDays: $inputs.retentionDays
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      archiveArn: $response.body#/ArchiveArn
      archiveState: $response.body#/State
      creationTime: $response.body#/CreationTime
  outputs:
    eventBusArn: $steps.createEventBus.outputs.eventBusArn
    archiveArn: $steps.createArchive.outputs.archiveArn
    archiveState: $steps.createArchive.outputs.archiveState

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-eventbridge-archive-event-bus-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.