aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.63k stars 3.91k forks source link

[aws-cloudfront] Documentation for webACLId does not detail requirement to provide an ARN #9393

Closed ReidWeb closed 4 years ago

ReidWeb commented 4 years ago

Link to CDK Doc Page: CloudFrontWebDistribution

The documentation does not detail on the webACLId parameter, as is provided in the API documentation for the CreateDistribution operation or the DistributionConfig object.

To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a


This is a 📕 documentation issue

ReidWeb commented 4 years ago

FYI I made PR #9395 to resolve this :)