@Stability(value=Stable) @Internal public static final class CfnRuleGroup.RuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.RuleProperty
CfnRuleGroup.RulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRuleGroup.RuleProperty.Builder, CfnRuleGroup.RuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRuleGroup.RuleProperty.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 |
getAction()
The action that AWS WAF should take on a web request when it matches the rule statement.
|
Object |
getCaptchaConfig()
Specifies how AWS WAF should handle `CAPTCHA` evaluations.
|
String |
getName()
The name of the rule.
|
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(CfnRuleGroup.RuleProperty.Builder builder)
CfnRuleGroup.AndStatementProperty.Builder.public final String getName()
CfnRuleGroup.RuleProperty
You can't change the name of a Rule after you create it.
getName in interface CfnRuleGroup.RulePropertypublic final Number getPriority()
CfnRuleGroup.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 CfnRuleGroup.RulePropertypublic final Object getStatement()
CfnRuleGroup.RulePropertygetStatement in interface CfnRuleGroup.RulePropertypublic final Object getVisibilityConfig()
CfnRuleGroup.RulePropertygetVisibilityConfig in interface CfnRuleGroup.RulePropertypublic final Object getAction()
CfnRuleGroup.RulePropertySettings at the web ACL level can override the rule action setting.
getAction in interface CfnRuleGroup.RulePropertypublic final Object getCaptchaConfig()
CfnRuleGroup.RuleProperty
If you don't specify this, AWS WAF uses the CAPTCHA configuration that's defined for the web ACL.
getCaptchaConfig in interface CfnRuleGroup.RulePropertypublic final Object getRuleLabels()
CfnRuleGroup.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 CfnRuleGroup.RuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.