eventsqs

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(queue string, opts ...swarm.Option) (swarm.Broker, error)

New creates broker for AWS SQS (serverless events)

Types

type Broker added in v0.15.0

type Broker struct {
	constructs.Construct
	Queue awssqs.IQueue
	// contains filtered or unexported fields
}

func NewBroker added in v0.15.0

func NewBroker(scope constructs.Construct, id *string, props *BrokerProps) *Broker

func (*Broker) AddQueue added in v0.15.0

func (broker *Broker) AddQueue(queueName string) awssqs.IQueue

func (*Broker) NewQueue added in v0.15.0

func (broker *Broker) NewQueue(props *awssqs.QueueProps) awssqs.IQueue

func (*Broker) NewSink added in v0.15.0

func (broker *Broker) NewSink(props *SinkProps) *Sink

type BrokerProps added in v0.15.0

type BrokerProps struct {
	System string
}

type Sink

type Sink struct {
	constructs.Construct
	Handler awslambda.IFunction
}

func NewSink

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

type SinkProps

type SinkProps struct {
	Queue  awssqs.IQueue
	Lambda *scud.FunctionGoProps
}

Jump to

Keyboard shortcuts

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