Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SQSQueueLambdaFunctionLink ¶
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 ¶
type QueueToFunctionLinkDeps pluginutils.LinkServiceDeps[ *aws.Config, cloudcontrolservice.Service, *aws.Config, lambdaservice.Service, ]
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.
Click to show internal directories.
Click to hide internal directories.