Class EventBridgeEventHandler
The event handler for processing domain events and publishing them to an AWS EventBridge event bus.
Inherited Members
Namespace: Innovt.Cloud.AWS.EventBridge
Assembly: Innovt.Cloud.AWS.EventBridge.dll
Syntax
public class EventBridgeEventHandler : DataProducer<DomainEvent>, IDisposable, IEventHandler
Constructors
| Edit this page View SourceEventBridgeEventHandler(string, ILogger, IAwsConfiguration)
Initializes a new instance of the EventBridgeEventHandler class with the specified parameters.
Declaration
public EventBridgeEventHandler(string busName, ILogger logger, IAwsConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| string | busName | The name of the AWS EventBridge event bus to publish events to. |
| ILogger | logger | The logger instance for logging events. |
| IAwsConfiguration | configuration | The AWS configuration for accessing AWS services. |
EventBridgeEventHandler(string, ILogger, IAwsConfiguration, string)
Initializes a new instance of the EventBridgeEventHandler class with the specified parameters.
Declaration
public EventBridgeEventHandler(string busName, ILogger logger, IAwsConfiguration configuration, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| string | busName | The name of the AWS EventBridge event bus to publish events to. |
| ILogger | logger | The logger instance for logging events. |
| IAwsConfiguration | configuration | The AWS configuration for accessing AWS services. |
| string | region | The AWS region to use. |