diff --git a/packages/@aws-cdk/aws-stepfunctions/README.md b/packages/@aws-cdk/aws-stepfunctions/README.md index af8100cd11746..e93f79c4efae0 100644 --- a/packages/@aws-cdk/aws-stepfunctions/README.md +++ b/packages/@aws-cdk/aws-stepfunctions/README.md @@ -185,7 +185,7 @@ The following snippet invokes a Lambda Function by referencing the `$.Payload` p to reference the output of a Lambda executed before it. ```ts -new sfn.Task(this, 'Invoke with task context', { +new sfn.Task(this, 'Invoke with empty payload', { task: new tasks.RunLambdaTask(myLambda), });