sqslambda

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SQSQueueLambdaFunctionLink(
	iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service],
) func(QueueToFunctionLinkDeps) provider.Link

SQSQueueLambdaFunctionLink returns a link implementation for a link from an SQS queue to a Lambda function. This creates an Event Source Mapping that triggers the Lambda function when messages are sent to the queue. It also adds IAM permissions to the Lambda function's execution role to consume from the queue.

Types

type QueueToFunctionLinkDeps

QueueToFunctionLinkDeps is a type alias for the core dependencies for a link from an SQS queue to a Lambda function (trigger). The queue is a Cloud Control–backed resource, so resource A's service is the Cloud Control service; the link only reads the queue ARN from state and does not call it.

Jump to

Keyboard shortcuts

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