eventbridge

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must added in v0.4.0

func Must(q swarm.Queue, err error) swarm.Queue

Must ensures successful creation of queue

func New

func New(sys swarm.System, queue string, opts ...*swarm.Policy) (swarm.Queue, error)

New create a logical queue (topic) over eventbridge

func NewSystem added in v0.4.0

func NewSystem(id string) swarm.System

NewSystem creates new queueing system

Types

type ServerlessApp added in v0.4.0

type ServerlessApp interface {
	awscdk.App
	CreateEventBus() ServerlessApp
	AttachEventBus(string) ServerlessApp
	CreateSink(*SinkProps) ServerlessApp
}

func NewServerlessApp added in v0.4.0

func NewServerlessApp(sys string) ServerlessApp

NewApp ...

type Sink added in v0.4.0

type Sink interface {
	constructs.Construct
}

Sink ...

func NewSink added in v0.4.0

func NewSink(scope constructs.Construct, id *string, props *SinkProps) Sink

NewSink ...

type SinkProps added in v0.4.0

type SinkProps struct {
	System   awsevents.IEventBus
	Queue    string
	Category string
	Lambda   *scud.FunctionGoProps
}

SinkProps ...

Jump to

Keyboard shortcuts

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