DEV Community

Discussion on: Exploring AWS CDK - Step Functions

Collapse
 
andrewlane profile image
Andrew Lane

In your SAM step, one of the commands references openCaseFunction64DF09DE. Where does that identifier come from?

Collapse
 
elthrasher profile image
Matt Morgan

That's the Unique ID. It's explained here: docs.aws.amazon.com/cdk/latest/gui.... It's basically just a way for CDK to be sure there's a unique name for the resource.

You can see how this is generated here: github.com/aws/aws-cdk/blob/0f0e20.... It seems deterministic - if you run my stack, you get the same IDs - though I doubt that's guaranteed.