eventsqs

package module
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "broker/eventsqs/v0.20.0"

Variables

This section is empty.

Functions

func NewDequeuer added in v0.20.0

func NewDequeuer(opts ...Option) (*kernel.Dequeuer, error)

New creates broker for AWS SQS (serverless events)

Types

type Broker

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

func NewBroker

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

func (*Broker) AddQueue

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

func (*Broker) NewQueue

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

func (*Broker) NewSink

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

type BrokerProps

type BrokerProps struct {
	System string
}

type Client added in v0.20.0

type Client struct {
	// contains filtered or unexported fields
}

type Option added in v0.20.0

type Option func(*Client)

func WithConfig added in v0.20.0

func WithConfig(opts ...swarm.Option) Option

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
	Function scud.FunctionProps
}

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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