AWS/CDK

[Fixed] CDK parameter doesn't read from parameter using ASL

brightlightkim 2022. 6. 18. 07:52

ASL = Amazon States Language (JSON-based)

 

When I tried to deploy by copying some of the features of yml file (CloudFormation Template), the step function workflow kept failing because CDK is not a level 1 construct where I have to specify everything. 

 

CDK performs those parameters or input by itself. I just needed to specify some parts that will be required such as the DynamoDB Table name. 

 

Then, my step function performed well by getting the json values. :)

 

p.s. I tried to find these functions for ages, but I could not find them. And just removing those parameter declarations from a definition of state makes everything easier.