Home > Net >  Creates Step Functions from JSON File in CDK
Creates Step Functions from JSON File in CDK

Time:02-06

With an existing Step Functions definition JSON file, how can I use it directly in CDK to create a Step Function?

CodePudding user response:

Use the L1 CfnStateMachine construct. It has a definitionString prop that accepts a stringified JSON definition.

  •  Tags:  
  • Related