WAF ACL: no way to add association for existing CloudFront distribution #29850
Labels
@aws-cdk/aws-waf
Related to AWS Web Application Firewall
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Add controls to either WAF V2 class or CloudFront Distribution class to be able to setup association for an existing CloudFront distribution. Currently only CloudFront distribution constructor accepts
webAclId
. There is no way to addwebAclId
iffromDistributionAttributes
has been used to import existing distribution.Use Case
There is an existing CloudFront distribution with a CNAME attached. A new separate CDK template is created with WAF web ACL. I want to establish an association between the ACL and an existing CloudFront distribution that's been imported into the current template via
fromDistributionAttributes
call.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.114.1
Environment details (OS name and version, etc.)
ManjaroLinux 23.1.4
The text was updated successfully, but these errors were encountered: