EventBusAttributes Struct
Interface with properties necessary to import a reusable EventBus.
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
The ARN of this event bus resource.
The physical ID of this event bus resource.
eventBusPolicystringevent_bus_policystreventBusPolicyStringEventBusPolicystringEventBusPolicy*stringrequired#The JSON policy of this event bus resource.
eventSourceNameoptionalstringevent_source_nameoptionalstreventSourceNameoptionalStringEventSourceNameoptionalstringEventSourceNameoptional*string#The partner event source to associate with this event bus resource.
Default: no partner event source