@Stability(value=Stable) @Internal public static final class CfnRuleGroup.RuleActionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.RuleActionProperty
CfnRuleGroup.RuleActionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRuleGroup.RuleActionProperty.Builder, CfnRuleGroup.RuleActionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRuleGroup.RuleActionProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRuleGroup.AndStatementProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAllow()
Instructs AWS WAF to allow the web request.
|
Object |
getBlock()
Instructs AWS WAF to block the web request.
|
Object |
getCaptcha()
Specifies that AWS WAF should run a `CAPTCHA` check against the request:.
|
Object |
getCount()
Instructs AWS WAF to count the web request and allow it.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRuleGroup.RuleActionProperty.Builder builder)
CfnRuleGroup.AndStatementProperty.Builder.public final Object getAllow()
CfnRuleGroup.RuleActionPropertygetAllow in interface CfnRuleGroup.RuleActionPropertypublic final Object getBlock()
CfnRuleGroup.RuleActionPropertygetBlock in interface CfnRuleGroup.RuleActionPropertypublic final Object getCaptcha()
CfnRuleGroup.RuleActionProperty
CAPTCHA token, AWS WAF allows the web request inspection to proceed to the next rule, similar to a CountAction .CAPTCHA token, AWS WAF discontinues the web ACL evaluation of the request and blocks it from going to its intended destination.AWS WAF generates a response that it sends back to the client, which includes the following:
x-amzn-waf-action with a value of captcha .405 Method Not Allowed .Accept header with a value of text/html , the response includes a CAPTCHA challenge.
You can configure the expiration time in the CaptchaConfig ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.
This action option is available for rules. It isn't available for web ACL default actions.
getCaptcha in interface CfnRuleGroup.RuleActionPropertypublic final Object getCount()
CfnRuleGroup.RuleActionPropertygetCount in interface CfnRuleGroup.RuleActionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.