lambdasqs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionQueueLink(
	iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service],
	ec2ServiceFactory pluginutils.ServiceFactory[*aws.Config, ec2service.Service],
) func(FunctionToQueueLinkDeps) provider.Link

FunctionQueueLink returns a link implementation for a link from a Lambda function to an SQS queue. The Lambda function is granted permission to send to (and optionally receive from) the queue and, optionally, an environment variable referencing the queue URL. This is the producer side of the queue; the consumer side (an SQS event source mapping) is the aws/sqs/queue -> aws/lambda/function link.

Types

type FunctionToQueueLinkDeps

FunctionToQueueLinkDeps is a type alias for the core dependencies for a link from a Lambda function to an SQS queue. The queue is a Cloud Control–backed resource, so resource B's service is the Cloud Control service; the link only reads the queue URL and ARN from state.

Jump to

Keyboard shortcuts

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