@Stability(value=Stable) @Internal public static final class CfnWebACL.RuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.RuleProperty
CfnWebACL.RulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnWebACL.RuleProperty.Builder, CfnWebACL.RuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnWebACL.RuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnWebACL.AllowActionProperty.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 |
getAction()
The action that AWS WAF should take on a web request when it matches the rule's statement.
|
Object |
getCaptchaConfig()
Specifies how AWS WAF should handle `CAPTCHA` evaluations.
|
String |
getName()
The name of the rule.
|
Object |
getOverrideAction()
The override action to apply to the rules in a rule group, instead of the individual rule action settings.
|
Number |
getPriority()
If you define more than one `Rule` in a `WebACL` , AWS WAF evaluates each request against the `Rules` in order based on the value of `Priority` .
|
Object |
getRuleLabels()
Labels to apply to web requests that match the rule match statement.
|
Object |
getStatement()
The AWS WAF processing statement for the rule, for example `ByteMatchStatement` or `SizeConstraintStatement` .
|
Object |
getVisibilityConfig()
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
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(CfnWebACL.RuleProperty.Builder builder)
CfnWebACL.AllowActionProperty.Builder.public final String getName()
CfnWebACL.RuleProperty
You can't change the name of a Rule after you create it.
getName in interface CfnWebACL.RulePropertypublic final Number getPriority()
CfnWebACL.RulePropertyAWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.
getPriority in interface CfnWebACL.RulePropertypublic final Object getStatement()
CfnWebACL.RulePropertygetStatement in interface CfnWebACL.RulePropertypublic final Object getVisibilityConfig()
CfnWebACL.RulePropertygetVisibilityConfig in interface CfnWebACL.RulePropertypublic final Object getAction()
CfnWebACL.RulePropertySettings at the web ACL level can override the rule action setting.
This is used only for rules whose statements don't reference a rule group. Rule statements that reference a rule group are RuleGroupReferenceStatement and ManagedRuleGroupStatement .
You must set either this Action setting or the rule's OverrideAction , but not both:
getAction in interface CfnWebACL.RulePropertypublic final Object getCaptchaConfig()
CfnWebACL.RuleProperty
If you don't specify this, AWS WAF uses the CAPTCHA configuration that's defined for the web ACL.
getCaptchaConfig in interface CfnWebACL.RulePropertypublic final Object getOverrideAction()
CfnWebACL.RuleProperty
This is used only for rules whose statements reference a rule group. Rule statements that reference a rule group are RuleGroupReferenceStatement and ManagedRuleGroupStatement .
Set the override action to none to leave the rule group rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.
You must set either this OverrideAction setting or the Action setting, but not both:
getOverrideAction in interface CfnWebACL.RulePropertypublic final Object getRuleLabels()
CfnWebACL.RulePropertyAWS WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace.
Rules that run after this rule in the web ACL can match against these labels using a LabelMatchStatement .
For each label, provide a case-sensitive string containing optional namespaces and a label name, according to the following guidelines:
aws , waf , managed , rulegroup , webacl , regexpatternset , or ipset .
For example, myLabelName or nameSpace1:nameSpace2:myLabelName .
getRuleLabels in interface CfnWebACL.RuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.