Return concrete values for physical names and ARNs if explicitly stated #4093
Labels
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
package/awscl
Cross-cutting issues related to the AWS Construct Library
🚀 Feature Request
Description
When a user specified an explicit physical name for an AWS resource, the corresponding attributes should also return a concrete name.
For example, if I define a bucket with a
bucketName
:Then, I would expect
bucket.bucketName
to returnhello
and not a token that resolves to{ "Fn::GetAtt": [ ... ] }
❗️There is a problem: CloudFormation references implicitly indicate that there is a dependency between the consuming resource and the referenced resource. If we return a concrete name (string), this dependency will now be lost forever. Is there anything we can do about it? (@rix0rrr?)
The text was updated successfully, but these errors were encountered: