# EventBusAttributes

Interface with properties necessary to import a reusable EventBus.

- Source: [`aws-events/lib/event-bus.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-events/lib/event-bus.ts#L186)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const eventBusAttributes: events.EventBusAttributes = {
  eventBusArn: 'eventBusArn',
  eventBusName: 'eventBusName',
  eventBusPolicy: 'eventBusPolicy',

  // the properties below are optional
  eventSourceName: 'eventSourceName',
};
```

## Properties

- `eventBusArn`: string (required) — The ARN of this event bus resource.

- `eventBusName`: string (required) — The physical ID of this event bus resource.

- `eventBusPolicy`: string (required) — The JSON policy of this event bus resource.

- `eventSourceName`: string — The partner event source to associate with this event bus resource.

  **Default:** no partner event source
