AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet
objects that identify the web requests that you want to allow, block, or count. For
example, you might create a
Rule that includes the following predicates:
IPSet that causes AWS WAF to search for web requests that originate
from the IP address
ByteMatchSet that causes AWS WAF to search for web requests for which
the value of the
User-Agent header is
To match the settings in this
Rule, a request must originate from
AND include a
User-Agent header for which the value is
public class Rule
The Rule type exposes the following members
Gets and sets the property MetricName.
A friendly name or description for the metrics for this
Gets and sets the property Name.
The friendly name or description for the
Gets and sets the property Predicates.
Gets and sets the property RuleId.
A unique identifier for a
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms