Class CfnWebACL.ActivatedRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.CfnWebACL.ActivatedRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnWebACL.ActivatedRuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnWebACL.ActivatedRuleProperty
@Stability(Stable)
@Internal
public static final class CfnWebACL.ActivatedRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnWebACL.ActivatedRuleProperty
An implementation for
CfnWebACL.ActivatedRuleProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.CfnWebACL.ActivatedRuleProperty
CfnWebACL.ActivatedRuleProperty.Builder, CfnWebACL.ActivatedRuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnWebACL.ActivatedRuleProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
Specifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in theRule
.final Number
Specifies the order in which theRules
in aWebACL
are evaluated.final String
TheRuleId
for aRule
.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnWebACL.ActivatedRuleProperty.Builder
.
-
-
Method Details
-
getPriority
Description copied from interface:CfnWebACL.ActivatedRuleProperty
Specifies the order in which theRules
in aWebACL
are evaluated.Rules with a lower value for
Priority
are evaluated beforeRules
with a higher value. The value must be a unique integer. If you add multipleRules
to aWebACL
, the values don't need to be consecutive.- Specified by:
getPriority
in interfaceCfnWebACL.ActivatedRuleProperty
-
getRuleId
Description copied from interface:CfnWebACL.ActivatedRuleProperty
TheRuleId
for aRule
.You use
RuleId
to get more information about aRule
, update aRule
, insert aRule
into aWebACL
or delete a one from aWebACL
, or delete aRule
from AWS WAF .RuleId
is returned byCreateRule
and byListRules
.- Specified by:
getRuleId
in interfaceCfnWebACL.ActivatedRuleProperty
-
getAction
Description copied from interface:CfnWebACL.ActivatedRuleProperty
Specifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in theRule
.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 aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.- Specified by:
getAction
in interfaceCfnWebACL.ActivatedRuleProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-