I wrote a stack in CDK, then I'm generating the template and deploying it through
aws cloudformation deploy --template-file "$env:TEMP\template.json" --stack-name myStackName
Inside my Stack object, how can I retrieve the "myStackName" passed above to the command? I tried with .Name and .StackName properties but neither gave me that name.
Thanks