eventbridge

package
v0.0.0-...-9f55c91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL