---
type: resource-type
title: WAFv2WebACL
description: aws resource type AWS::WAFv2::WebACL
name: WAFv2WebACL
lexicon: aws
resource_type: AWS::WAFv2::WebACL
---
`AWS::WAFv2::WebACL`, a resource type of the aws lexicon.

## Properties

- `DefaultAction` (`WAFv2WebACL_DefaultAction`, required)
- `Scope` (`WAFv2WebACL_Scope`, required)
- `VisibilityConfig` (`WAFv2WebACL_VisibilityConfig`, required)
- `ApplicationConfig` (`WAFv2WebACL_ApplicationConfig`, optional): Collection of application attributes.
- `Arn` (`string`, optional)
- `AssociationConfig` (`WAFv2WebACL_AssociationConfig`, optional)
- `Capacity` (`number`, optional)
- `CaptchaConfig` (`WAFv2WebACL_CaptchaConfig`, optional)
- `ChallengeConfig` (`WAFv2WebACL_ChallengeConfig`, optional)
- `CustomResponseBodies` (`Record<string, unknown>`, optional)
- `DataProtectionConfig` (`WAFv2WebACL_DataProtectionConfig`, optional): Collection of dataProtects.
- `Description` (`string`, optional)
- `Id` (`string`, optional)
- `LabelNamespace` (`string`, optional)
- `MonetizationConfig` (`WAFv2WebACL_MonetizationConfig`, optional)
- `Name` (`string`, optional)
- `OnSourceDDoSProtectionConfig` (`WAFv2WebACL_OnSourceDDoSProtectionConfig`, optional)
- `Rules` (`WAFv2WebACL_Rule[]`, optional): Collection of Rules.
- `Tags` (`WAFv2WebACL_Tag[]`, optional)
- `TokenDomains` (`any`, optional)

## Attributes

- `Arn`
- `Capacity`
- `Id`
- `LabelNamespace`
