How can I predict name of created resources

Hi there.
I try to use CDK with Python for deploying our environment but it still unclear about algorithm of generation name of resources. I can not predict which name of resources will be generated. This impotant for as because we want to use CDK with Jenkins jobs.
I’m afraid that after some deployments this name can be changed and our remote state can be out of sync.
Gould someone give some information about this algorithm, which activities can changed the current name of the resource.

There is an open request that simplifies the naming.

The current naming is stable provided you keep resources at the same level with the same id. Meaning moving a resource to/from a module or to/from a custom construct will change its name.
Here is the code if you want to know the exact details.

Thanks for your support! :nose: