cloudfront: expose ARN for Distribution
#32530
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
It would be great if we could get ARN of a CloudFront distribution L2 construct.
Use Case
easily get ARN of a distribution.
Proposed Solution
add
IDistribution.distributionArn
property. We already have a function to calculate it.aws-cdk/packages/aws-cdk-lib/aws-cloudfront/lib/private/utils.ts
Lines 7 to 14 in bf026bd
Other Information
No response
Acknowledgements
CDK version used
2.170.0
Environment details (OS name and version, etc.)
macOS
The text was updated successfully, but these errors were encountered: