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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.CfnWebACL.ActivatedRuleProperty
CfnWebACL.ActivatedRuleProperty.Builder, CfnWebACL.ActivatedRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnWebACL.ActivatedRuleProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectSpecifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in theRule.final NumberSpecifies the order in which theRulesin aWebACLare evaluated.final StringTheRuleIdfor aRule.final inthashCode()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.ActivatedRulePropertySpecifies the order in which theRulesin aWebACLare evaluated.Rules with a lower value for
Priorityare evaluated beforeRuleswith a higher value. The value must be a unique integer. If you add multipleRulesto aWebACL, the values don't need to be consecutive.- Specified by:
getPriorityin interfaceCfnWebACL.ActivatedRuleProperty
-
getRuleId
Description copied from interface:CfnWebACL.ActivatedRulePropertyTheRuleIdfor aRule.You use
RuleIdto get more information about aRule, update aRule, insert aRuleinto aWebACLor delete a one from aWebACL, or delete aRulefrom AWS WAF .RuleIdis returned byCreateRuleand byListRules.- Specified by:
getRuleIdin interfaceCfnWebACL.ActivatedRuleProperty
-
getAction
Description copied from interface:CfnWebACL.ActivatedRulePropertySpecifies the action that Amazon CloudFront or AWS WAF takes when a web request matches the conditions in theRule.Valid values for
Actioninclude 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|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.- Specified by:
getActionin interfaceCfnWebACL.ActivatedRuleProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-