The recommended approach is this described by alukack. But you can also do
Aws.STACK_NAME
But as described in the above link...
CloudFormation supports a number of pseudo parameters, which resolve
to useful values at deployment time. CloudFormation pseudo parameters
can be obtained from static members of the Aws class.
It is generally recommended to access pseudo parameters from the
scope's stack instead, which guarantees the values produced are
qualifying the designated stack, which is essential in cases where
resources are shared cross-stack:
BTW: I experienced that the stack.stackName
returned the id of the stack which I used in CDK.. The correct Stackname used in CFN was only returned from the Aws.STACK_NAME
.