1.0.2 โข Published 3 years ago
cdk-asl-extractor v1.0.2
AWS CDK state machine to ASL definition ๐ฅ
Convert your AWS CDK state machine to an ASL file.
This tool only works with synthesized AWS CDK's CloudFormation stacks.
It parses the DefinitionString property of a AWS::StepFunctions::StateMachine, resolves intrinsic functions and generates an ASL definition file.
Don't forget to star โญ
How to use ? ๐งโ๐ซ
npm install -g cdk-asl-extractorSynthesize your AWS CloudFormation template
cdk synthLocate the synthesized CloudFormation template (inside cdk.out directory) and generate the ASL definition.
cdk-asl-extractor <path-to-your-cloudformation-json-file>Example with the sample CloudFormation stack
cdk-asl-extractor ./tests/sample-cloudformation.jsonTests ๐งช
yarn testWatch mode ๐๏ธ
yarn test --watch