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),