lambdadynamodb

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

DynamoDBTableLambdaFunctionLink returns a link implementation for a link from a DynamoDB table to a Lambda function. This creates an Event Source Mapping that triggers the Lambda function when records are written to the DynamoDB table's stream. It also adds IAM permissions to the Lambda function's execution role to read from the DynamoDB stream, and enables DynamoDB Streams on the table if not already enabled.

func FunctionDynamoDBTableLink(
	iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service],
	ec2ServiceFactory pluginutils.ServiceFactory[*aws.Config, ec2service.Service],
) func(FunctionToDynamoDBTableLinkDeps) provider.Link

FunctionDynamoDBTableLink returns a link implementation for a link from a lambda function to a DynamoDB table. The lambda function will be configured with environment variables and IAM permissions to access the DynamoDB table.

Types

type DynamoDBTableToLambdaFunctionLinkDeps

type DynamoDBTableToLambdaFunctionLinkDeps pluginutils.LinkServiceDeps[
	*aws.Config,
	dynamodbservice.Service,
	*aws.Config,
	lambdaservice.Service,
]

DynamoDBTableToLambdaFunctionLinkDeps is a type alias for the core dependencies for a link from a DynamoDB table to a Lambda function (stream trigger).

type FunctionToDynamoDBTableLinkDeps

FunctionToDynamoDBTableLinkDeps is a type alias for the core dependencies for a link from a lambda function to a DynamoDB table.

Jump to

Keyboard shortcuts

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