Skip to content

Commit 0c3a09d

Browse files
ReidWebElad Ben-Israel
authored and
Elad Ben-Israel
committed
chore(cloudfront): Add expanded description of webAclId parameter (#9395)
Add a detailed description of this parameter as per the existing AWS API documentation to save confusion for users Fixes #9393 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 03ec384 commit 0c3a09d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts

+7
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,14 @@ export interface CloudFrontWebDistributionProps {
646646

647647
/**
648648
* Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.
649+
*
650+
* To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example
651+
* `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`.
652+
*
653+
* To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `473e64fd-f30b-4765-81a0-62ad96dd167a`.
654+
*
649655
* @see https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html
656+
* @see https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html#API_CreateDistribution_RequestParameters.
650657
*
651658
* @default - No AWS Web Application Firewall web access control list (web ACL).
652659
*/

0 commit comments

Comments
 (0)