aws-cdk-lib.aws_lambda.IDestination

interface IDestination

LanguageType name
.NETAmazon.CDK.AWS.Lambda.IDestination
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#IDestination
Javasoftware.amazon.awscdk.services.lambda.IDestination
Pythonaws_cdk.aws_lambda.IDestination
TypeScript (source)aws-cdk-lib » aws_lambda » IDestination

Implemented by EventBridgeDestination, LambdaDestination, SnsDestination, SqsDestination

A Lambda destination.

Methods

NameDescription
bind(scope, fn, options?)Binds this destination to the Lambda function.

bind(scope, fn, options?)

public bind(scope: Construct, fn: IFunction, options?: DestinationOptions): DestinationConfig

Parameters

  • scope Construct
  • fn IFunction
  • options DestinationOptions

Returns

  • DestinationConfig

Binds this destination to the Lambda function.