lambdasns

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 FunctionTopicLink(
	iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service],
	ec2ServiceFactory pluginutils.ServiceFactory[*aws.Config, ec2service.Service],
) func(FunctionToTopicLinkDeps) provider.Link

FunctionTopicLink returns a link implementation for a link from a Lambda function to an SNS topic. The Lambda function is granted permission to publish to the topic and, optionally, environment variables referencing the topic.

Types

type FunctionToTopicLinkDeps

FunctionToTopicLinkDeps is a type alias for the core dependencies for a link from a Lambda function to an SNS topic. The topic is a Cloud Control–backed resource, so resource B's service is the Cloud Control service; the link only reads the topic 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