From 87aca88fde17df0d6191505f1d1a34664092a402 Mon Sep 17 00:00:00 2001 From: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com> Date: Tue, 24 Mar 2020 20:27:14 -0400 Subject: [PATCH] chore(docs): use updated parameter name for time with the `Wait` state Fixed example to align with changes from [this commit](https://github.com/aws/aws-cdk/pull/2857) --- packages/@aws-cdk/aws-stepfunctions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-stepfunctions/README.md b/packages/@aws-cdk/aws-stepfunctions/README.md index 9631b3a69d942..70defad102f9b 100644 --- a/packages/@aws-cdk/aws-stepfunctions/README.md +++ b/packages/@aws-cdk/aws-stepfunctions/README.md @@ -41,7 +41,7 @@ const submitJob = new sfn.Task(this, 'Submit Job', { }); const waitX = new sfn.Wait(this, 'Wait X Seconds', { - duration: sfn.WaitTime.secondsPath('$.waitSeconds'), + time: sfn.WaitTime.secondsPath('$.waitSeconds'), }); const getStatus = new sfn.Task(this, 'Get Job Status', {