DocsAWS 101BlogServices

EventBridge

Event buses, rules, targets, archives, replays, API destinations, connections.

JSON-RPC (X-Amz-Target) multi-tenant 57 operations

Quick start

import boto3
eb = boto3.client("events", endpoint_url="http://localhost:4566",
                  region_name="us-east-1",
                  aws_access_key_id="test", aws_secret_access_key="test")
eb.put_rule(Name="r", EventPattern='{"source":["myapp"]}')
eb.put_events(Entries=[{"Source":"myapp","DetailType":"x","Detail":"{}"}])

Supported operations

57 operations exposed by this service as of MiniStack 1.4.21. Extracted directly from the handler dispatch in the source module.

ActivateEventSource CancelReplay CreateApiDestination CreateArchive CreateConnection CreateEndpoint CreateEventBus CreatePartnerEventSource DeactivateEventSource DeauthorizeConnection DeleteApiDestination DeleteArchive DeleteConnection DeleteEndpoint DeleteEventBus DeletePartnerEventSource DeleteRule DescribeApiDestination DescribeArchive DescribeConnection DescribeEndpoint DescribeEventBus DescribeEventSource DescribePartnerEventSource DescribeReplay DescribeRule DisableRule EnableRule ListApiDestinations ListArchives ListConnections ListEndpoints ListEventBuses ListEventSources ListPartnerEventSourceAccounts ListPartnerEventSources ListReplays ListRuleNamesByTarget ListRules ListTagsForResource ListTargetsByRule PutEvents PutPartnerEvents PutPermission PutRule PutTargets RemovePermission RemoveTargets StartReplay TagResource TestEventPattern UntagResource UpdateApiDestination UpdateArchive UpdateConnection UpdateEndpoint UpdateEventBus

CloudFormation

The CloudFormation engine provisions these resource types via this service:

AWS::Events::EventBus AWS::Events::Rule

See CloudFormation engine for intrinsic support and lifecycle details.

Known limitations

  • API Destinations (HTTP invoke) are stored but outbound calls are not made.
  • ScheduleExpression (cron/rate) rules do fire their targets on schedule via a background scheduler thread.
  • StartReplay re-dispatches archived events to the configured targets before transitioning to COMPLETED.

Source

  • ministack/services/eventbridge.py

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.