flexlambda

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

VPCFunctionLink returns a link implementation that places a Lambda function within a flex VPC. The function's VpcConfig is set from the VPC's computed subnets (selected by the aws.flexvpc.lambda.subnetType annotation) and Bluelink-managed security group.

The function's execution role is granted the network interface permissions Lambda requires of a VPC-attached function, so the IAM service is needed alongside the two resource services.

Types

type VPCToFunctionLinkDeps

VPCToFunctionLinkDeps is a type alias for the core dependencies for a link from a flex VPC to a Lambda function. Resource A is the flex VPC (backed by the EC2 service) and resource B is the Lambda function.

Jump to

Keyboard shortcuts

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