Interface IEventBusAttributes
Interface with properties necessary to import a reusable EventBus.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEventBusAttributes
Syntax (vb)
Public Interface IEventBusAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var eventBusAttributes = new EventBusAttributes {
EventBusArn = "eventBusArn",
EventBusName = "eventBusName",
EventBusPolicy = "eventBusPolicy",
// the properties below are optional
EventSourceName = "eventSourceName"
};
Synopsis
Properties
| EventBusArn | The ARN of this event bus resource. |
| EventBusName | The physical ID of this event bus resource. |
| EventBusPolicy | The JSON policy of this event bus resource. |
| EventSourceName | The partner event source to associate with this event bus resource. |
Properties
EventBusArn
The ARN of this event bus resource.
string EventBusArn { get; }
Property Value
Remarks
EventBusName
The physical ID of this event bus resource.
string EventBusName { get; }
Property Value
Remarks
EventBusPolicy
The JSON policy of this event bus resource.
string EventBusPolicy { get; }
Property Value
Remarks
EventSourceName
The partner event source to associate with this event bus resource.
string? EventSourceName { get; }
Property Value
Remarks
Default: - no partner event source