Skip to content

Commit

Permalink
chore(cloudfront): update cloudfront docs to show allowlist functiona…
Browse files Browse the repository at this point in the history
…lity (#19093)

Closes #19022.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
robertd authored Feb 22, 2022
1 parent 4f7818d commit 3fd1511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-cloudfront/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ new cloudfront.CloudFrontWebDistribution(this, 'MyDistribution', {
behaviors : [ {isDefaultBehavior: true}],
},
],
geoRestriction: cloudfront.GeoRestriction.whitelist('US', 'UK'),
geoRestriction: cloudfront.GeoRestriction.allowlist('US', 'GB'),
});
```

Expand Down

0 comments on commit 3fd1511

Please sign in to comment.