Documentation ¶
Overview ¶
Package eventbridge simplifies working with AWS EventBridge
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher interface {
PublishEvents(ctx context.Context, events []interface{}, eventType string) error
}
Publisher interface contains methods for publishing any kind of events to the AWS EventBridge Event Bus
func NewPublisher ¶
func NewPublisher(role sts.AssumeRoleInRegion, eventBusArn string) Publisher
NewPublisher create new EventBridge Publisher bound to the specific AWS EventBridge Event Bus
Click to show internal directories.
Click to hide internal directories.