AWS WAF is a web application firewall service that monitors web requests for Amazon CloudFront distributions and restricts access to content. Use AWS WAF to block or allow requests based on conditions, such as the IP addresses that requests originate from or values in the requests.
Documentation: https://aws.amazon.com/documentation/waf/