From 635d50b3fb8da2ed6330d282bdf4374254959184 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Thu, 5 Sep 2024 07:55:21 -0700 Subject: [PATCH] Fix readme (again) --- packages/@aws-cdk/aws-pipes-targets-alpha/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-pipes-targets-alpha/README.md b/packages/@aws-cdk/aws-pipes-targets-alpha/README.md index 79bd801ad188c..27f95701c0e4d 100644 --- a/packages/@aws-cdk/aws-pipes-targets-alpha/README.md +++ b/packages/@aws-cdk/aws-pipes-targets-alpha/README.md @@ -133,7 +133,7 @@ A Lambda Function can be used as a target for a pipe. The Lambda Function will b declare const sourceQueue: sqs.Queue; declare const targetFunction: lambda.IFunction; -const pipeTarget = new targets.LambdaFunction(targetFunction); +const pipeTarget = new targets.LambdaFunction(targetFunction,{}); const pipe = new pipes.Pipe(this, 'Pipe', { source: new SomeSource(sourceQueue),