Skip to content

Commit

Permalink
chore(docs): use updated parameter name for time with the Wait state
Browse files Browse the repository at this point in the history
Fixed example to align with changes from [this commit](#2857)
  • Loading branch information
richardhboyd authored Mar 25, 2020
1 parent 0af2d2e commit 87aca88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-stepfunctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 87aca88

Please sign in to comment.