

# Use cases
<a name="use-cases"></a>

The following are example use cases for using this solution. You can customize this solution in innovative ways that aren’t limited to this list.

 **Automate the setup of AWS WAF rules** 

AWS WAF protects your web application from common attacks; however, setting up AWS WAF rules can be complicated and time consuming. To help you, this solution automatically deploys a set of AWS WAF rules into your account with a CloudFormation template. This way, you don’t need to configure AWS WAF rules yourself, and you can get started with AWS WAF faster.

 **Customize layer 7 HTTP Flood protection** 

This solution provides three options to activate HTTP Flood protection. You can select the option that fits your needs to gain protection against DDoS attacks. For more information, see **Provide layer 7 flood protection with pre-defined HTTP Flood custom rule** in [Features and benefits](features-and-benefits.md).

 **Leverage the source code for applying customization or building your own security automations** 

This solution provides an example for how to use AWS WAF and other services to build security automations on the AWS Cloud. Its [open source code in GitHub](https://github.com/aws-solutions/aws-waf-security-automations) makes it convenient for you to apply customizations or build your own security automations that fit your needs.