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

## Properties

- `Capacity` (`number`, required)
- `Scope` (`WAFv2RuleGroup_Scope`, required)
- `VisibilityConfig` (`WAFv2RuleGroup_VisibilityConfig`, required)
- `Arn` (`string`, optional)
- `AvailableLabels` (`WAFv2RuleGroup_LabelSummary[]`, optional): Collection of Available Labels.
- `ConsumedLabels` (`WAFv2RuleGroup_LabelSummary[]`, optional): Collection of Consumed Labels.
- `CustomResponseBodies` (`Record<string, unknown>`, optional)
- `Description` (`string`, optional)
- `Id` (`string`, optional)
- `LabelNamespace` (`string`, optional)
- `MonetizationConfig` (`WAFv2RuleGroup_MonetizationConfig`, optional)
- `Name` (`string`, optional)
- `Rules` (`WAFv2RuleGroup_Rule[]`, optional): Collection of Rules.
- `Tags` (`WAFv2RuleGroup_Tag[]`, optional)

## Attributes

- `Arn`
- `AvailableLabels.*.Name`
- `ConsumedLabels.*.Name`
- `Id`
- `LabelNamespace`
