@Stability(value=Stable) @Internal public static final class CfnWebACL.ActivatedRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.ActivatedRuleProperty
CfnWebACL.ActivatedRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnWebACL.ActivatedRuleProperty.Builder, CfnWebACL.ActivatedRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnWebACL.ActivatedRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnWebACL.ActivatedRuleProperty.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()
Specifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in the `Rule` .
|
Number |
getPriority()
Specifies the order in which the `Rules` in a `WebACL` are evaluated.
|
String |
getRuleId()
The `RuleId` for a `Rule` .
|
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.ActivatedRuleProperty.Builder builder)
CfnWebACL.ActivatedRuleProperty.Builder.public final Number getPriority()
CfnWebACL.ActivatedRuleProperty
Rules with a lower value for Priority are evaluated before Rules with a higher value. The value must be a unique integer. If you add multiple Rules to a WebACL , the values don't need to be consecutive.
getPriority in interface CfnWebACL.ActivatedRulePropertypublic final String getRuleId()
CfnWebACL.ActivatedRuleProperty
You use RuleId to get more information about a Rule , update a Rule , insert a Rule into a WebACL or delete a one from a WebACL , or delete a Rule from AWS WAF .
RuleId is returned by CreateRule and by ListRules .
getRuleId in interface CfnWebACL.ActivatedRulePropertypublic final Object getAction()
CfnWebACL.ActivatedRuleProperty
Valid values for Action include the following:
ALLOW : CloudFront responds with the requested object.BLOCK : CloudFront responds with an HTTP 403 (Forbidden) status code.COUNT : AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL.
ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL . In this case, you do not use ActivatedRule|Action . For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction .
getAction in interface CfnWebACL.ActivatedRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.