Josimar Zimermann
09/26/2021, 1:23 AMsfn
and tasks
variable?Roger Chi
09/26/2021, 2:18 AMFrank
Frank
"@aws-cdk/aws-stepfunctions": "1.114.0",
"@aws-cdk/aws-stepfunctions-tasks": "1.114.0",
And then run npm/yarn installJack G
11/05/2021, 4:04 PMduration.toSeconds is not a function
when trying the SST step functions example with these packages, any advice for this? @FrankFrank
duration.toSeconds
in ur code?Jack G
11/05/2021, 4:08 PM@aws-cdk/aws-stepfunctions
package is using, it seems to be throwing the error with this block of code (from the SST example)Jack G
11/05/2021, 4:08 PMJack G
11/05/2021, 4:08 PMFrank
import * as cdk from "@aws-cdk/core";
and then change the duration line to:
const sWait = new sfn.Wait(this, "Wait", {
time: sfn.WaitTime.duration(cdk.Duration.seconds(300)),
});
Jack G
11/05/2021, 4:36 PMFrank