---
id: "aws-waf-classic"
type: "component"
kind: "waf"
provider: "aws"
category: "security"
docs: "https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html"
url: "https://localhost:3000/catalogue/components/aws-waf-classic"
---

# AWS WAF Classic

Previous-generation AWS WAF web ACL of match conditions and rules; end of support 7 October 2026.

| | |
|---|---|
| Provider | [aws](https://localhost:3000/catalogue?provider=aws) |
| Kind | [Web application firewall](https://localhost:3000/catalogue/kinds/waf) |
| Category | Security |
| Official docs | [https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html](https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `botProtection` | boolean | — | no | — | **false** |
| `customRuleCount` | integer | — | no | — | inherited |
| `defaultAction` | enum | `allow`, `block` | no | — | inherited |
| `logging` | boolean | — | no | false | inherited |
| `managed` | boolean | — | no | false | **true** |
| `managedRuleSet` | string | — | no | — | inherited |
| `mode` | enum | `detection`, `prevention`, `off` | no | — | **"prevention"** |
| `protectedResource` | enum | `cloudfront`, `application-load-balancer`, `api-gateway` | no | — | inherited |
| `rateBasedRuleWindowMinutes` | integer | — | no | 5 | inherited |
| `rateLimiting` | boolean | — | no | — | **false** |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 13

- [Web Application Firewall](https://localhost:3000/catalogue/components/alibaba-waf.md) `alibaba-waf` — alibabacloud
- [AWS WAF web ACL](https://localhost:3000/catalogue/components/aws-waf.md) `aws-waf` — aws
- [Azure Web Application Firewall](https://localhost:3000/catalogue/components/azure-web-application-firewall.md) `azure-web-application-firewall` — azure
- [Firewall for AI](https://localhost:3000/catalogue/components/cloudflare-firewall-for-ai.md) `cloudflare-firewall-for-ai` — cloudflare
- [Cloudflare WAF](https://localhost:3000/catalogue/components/cloudflare-waf.md) `cloudflare-waf` — cloudflare
- [Coraza](https://localhost:3000/catalogue/components/coraza.md) `coraza` — default
- [Imperva Application Security](https://localhost:3000/catalogue/components/imperva.md) `imperva` — default
- [ModSecurity](https://localhost:3000/catalogue/components/modsecurity.md) `modsecurity` — default
- [NAXSI](https://localhost:3000/catalogue/components/naxsi.md) `naxsi` — default
- [Generic web application firewall](https://localhost:3000/catalogue/components/waf.md) `waf` — default
- [Google Cloud Armor](https://localhost:3000/catalogue/components/google-cloud-armor.md) `google-cloud-armor` — gcp
- [reCAPTCHA Enterprise](https://localhost:3000/catalogue/components/google-recaptcha-enterprise.md) `google-recaptcha-enterprise` — gcp
- [Web Application Firewall](https://localhost:3000/catalogue/components/oci-waf.md) `oci-waf` — oci

## Use it in a design

```yaml
nodes:
  - { id: "aws-waf-classic", component: "aws-waf-classic" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# AWS WAF Classic: the pre-November-2019 AWS WAF, a web ACL of conditions and rules in front of a
# CloudFront distribution, Application Load Balancer or API Gateway REST API ("AWS WAF Classic").
# The web ACL default action is allow or block and rate-based rules count requests over a 5-minute
# period ("Creating and configuring a Web Access Control List (Web ACL)").
# Sunset: end of support 7 October 2026 (AWS service lifecycle, sunset services); placeable until then.
schemaVersion: "1"
type: "component"
id: "aws-waf-classic"
kind: "waf"
provider: "aws"
docs: "https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html"
defaults:
  managed: true
  mode: "prevention"
  botProtection: false
  rateLimiting: false
properties:
  defaultAction:
    type: "enum"
    values: ["allow", "block"]
  protectedResource:
    type: "enum"
    values: ["cloudfront", "application-load-balancer", "api-gateway"]
  rateBasedRuleWindowMinutes:
    type: "integer"
    default: 5
  logging:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/aws-waf-classic
