interface EventBusAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Events.EventBusAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#EventBusAttributes |
Java | software.amazon.awscdk.services.events.EventBusAttributes |
Python | aws_cdk.aws_events.EventBusAttributes |
TypeScript (source) | aws-cdk-lib » aws_events » EventBusAttributes |
Interface with properties necessary to import a reusable EventBus.
Example
// 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
Name | Type | Description |
---|---|---|
event | string | The ARN of this event bus resource. |
event | string | The physical ID of this event bus resource. |
event | string | The JSON policy of this event bus resource. |
event | string | The partner event source to associate with this event bus resource. |
eventBusArn
Type:
string
The ARN of this event bus resource.
eventBusName
Type:
string
The physical ID of this event bus resource.
eventBusPolicy
Type:
string
The JSON policy of this event bus resource.
eventSourceName?
Type:
string
(optional, default: no partner event source)
The partner event source to associate with this event bus resource.