Documentation
¶
Overview ¶
Package awstrigger delivers trigger events over AWS messaging: an SQS queue (a worker consumes and rebuilds) or an EventBridge bus (fan-out to CodeBuild/Step Functions). Callers construct and own the clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBridge ¶
type EventBridge struct {
Client *eventbridge.Client
Bus string
Source string // e.g. "lcatd"
}
EventBridge puts each event on a bus.
func NewEventBridge ¶
func NewEventBridge(ctx context.Context, bus, source, endpoint string) (EventBridge, error)
NewEventBridge builds an EventBridge notifier from the standard AWS environment; a non-empty endpoint overrides the service endpoint.
Click to show internal directories.
Click to hide internal directories.