lambdas3

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

FunctionBucketLink returns a link implementation for a link from a Lambda function to an S3 bucket. The Lambda function is granted read/write access to the bucket and, optionally, an environment variable referencing the bucket name. When the function is VPC-isolated, an S3 gateway VPC endpoint is activated on the linked flex VPC.

Types

type FunctionToBucketLinkDeps

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