aws-samples / aws-cloudfront-waf-ip-set

This project creates a WAF and IP Set that are scoped to the CloudFront IP Ranges.
MIT No Attribution
11 stars 6 forks source link

CloudFront WAF IP Set

This project creates a WAF and IP Set that are scoped to the CloudFront IP Ranges. Customers can then use this WAF to only allow traffic to an Application load balancer or API gateway from a CloudFront Distribution.

Components

This stack deploys the following components

Deployment

To deploy this solution run the below script from the root of the project.

npm install
cdk bootstrap
cdk deploy

Once the CDK project is finished deploying, you must manually associate the AWS Resources with your newly created WAF for them to be protected.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.