nathanagez / aws-cdk-state-machine-asl

Convert your CDK state machine to an ASL file
26 stars 2 forks source link

Multi-Stack support #5

Open alynchos opened 2 years ago

alynchos commented 2 years ago

The supported cdk functions are:

        {
            templateName: 'Ref', resolver: () => 'aws'
        },
        {
            templateName: 'Fn::GetAtt', resolver: fnGetAtt
        },
        {
            templateName: 'Fn::Join', resolver: fnJoin
        }

In a multi-stack application, "Fn::ImportValue" is used to reference values from other stacks. If all stacks are locally synthesized, aws-cdk-state-machine-asl should grab that value for you.