---
type: resource-type
title: WAFRule
description: aws resource type AWS::WAF::Rule
name: WAFRule
lexicon: aws
resource_type: AWS::WAF::Rule
---
`AWS::WAF::Rule`, a resource type of the aws lexicon.

## Properties

- `MetricName` (`string`, required)
- `Name` (`string`, required)
- `Id` (`string`, optional)
- `Predicates` (`WAFRule_Predicate[]`, optional)

## Attributes

- `Id`
