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.
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
Namespace: Amazon.WAFV2.Model
Assembly: AWSSDK.WAFV2.dll
Version: 3.x.y.z
public class RuleAction
The RuleAction type exposes the following members
Name | Description | |
---|---|---|
RuleAction() |
Name | Type | Description | |
---|---|---|---|
Allow | Amazon.WAFV2.Model.AllowAction |
Gets and sets the property Allow. Instructs WAF to allow the web request. |
|
Block | Amazon.WAFV2.Model.BlockAction |
Gets and sets the property Block. Instructs WAF to block the web request. |
|
Captcha | Amazon.WAFV2.Model.CaptchaAction |
Gets and sets the property Captcha.
Instructs WAF to run a |
|
Challenge | Amazon.WAFV2.Model.ChallengeAction |
Gets and sets the property Challenge.
Instructs WAF to run a |
|
Count | Amazon.WAFV2.Model.CountAction |
Gets and sets the property Count. Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5