If your web apps or APIs are at risk of being hacked or compromised by bots, AWS Web Application Firewall (WAF) is a virtual firewall that can assist defend you from these threats. AWS WAF gives you comprehensive control over traffic accessing your applications by allowing you to set security rules that restrict bot traffic and stop classic attack types like SQL injection and cross-site scripting. Additionally, you have the option of creating rules that only allow certain types of traffic.