# EventBus

Notify an existing Event Bus of an event.

Extends: EventBus
Implements: IRuleTarget

- Source: [`aws-events-targets/lib/event-bus.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-events-targets/lib/event-bus.ts#L35)
- Type last changed: v2.235.0 · 15 Jan 2026

## Example

```ts
const rule = new events.Rule(this, 'Rule', {
  schedule: events.Schedule.expression('rate(1 minute)'),
});

rule.addTarget(new targets.EventBus(
  events.EventBus.fromEventBusArn(
    this,
    'External',
    `arn:aws:events:eu-west-1:999999999999:event-bus/test-bus`,
  ),
));
```

## Initializer

```ts
new EventBus(eventBus: IEventBus, props?: EventBusProps)
```

## Methods

- `bind(rule: IRuleRef, _id?: string): RuleTargetConfig` — Returns the rule target specification.

  NOTE: Do not use the various `inputXxx` options. They can be set in a call to `addTarget`.
