Class CfnRule.PredicateProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.CfnRule.PredicateProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRule.PredicateProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRule.PredicateProperty
@Stability(Stable)
@Internal
public static final class CfnRule.PredicateProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnRule.PredicateProperty
An implementation for
CfnRule.PredicateProperty
-
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.CfnRule.PredicateProperty
CfnRule.PredicateProperty.Builder, CfnRule.PredicateProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRule.PredicateProperty.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 String
A unique identifier for a predicate in aRule
, such asByteMatchSetId
orIPSetId
.final Object
SetNegated
toFalse
if you want AWS WAF to allow, block, or count requests based on the settings in the specifiedByteMatchSet
,IPSet
,SqlInjectionMatchSet
,XssMatchSet
,RegexMatchSet
,GeoMatchSet
, orSizeConstraintSet
.final String
getType()
The type of predicate in aRule
, such asByteMatch
orIPSet
.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 theCfnRule.PredicateProperty.Builder
.
-
-
Method Details
-
getDataId
Description copied from interface:CfnRule.PredicateProperty
A unique identifier for a predicate in aRule
, such asByteMatchSetId
orIPSetId
.The ID is returned by the corresponding
Create
orList
command.- Specified by:
getDataId
in interfaceCfnRule.PredicateProperty
-
getNegated
Description copied from interface:CfnRule.PredicateProperty
SetNegated
toFalse
if you want AWS WAF to allow, block, or count requests based on the settings in the specifiedByteMatchSet
,IPSet
,SqlInjectionMatchSet
,XssMatchSet
,RegexMatchSet
,GeoMatchSet
, orSizeConstraintSet
.For example, if an
IPSet
includes the IP address192.0.2.44
, AWS WAF will allow or block requests based on that IP address.Set
Negated
toTrue
if you want AWS WAF to allow or block a request based on the negation of the settings in theByteMatchSet
,IPSet
,SqlInjectionMatchSet
,XssMatchSet
,RegexMatchSet
,GeoMatchSet
, orSizeConstraintSet
. For example, if anIPSet
includes the IP address192.0.2.44
, AWS WAF will allow, block, or count requests based on all IP addresses except192.0.2.44
.- Specified by:
getNegated
in interfaceCfnRule.PredicateProperty
-
getType
Description copied from interface:CfnRule.PredicateProperty
The type of predicate in aRule
, such asByteMatch
orIPSet
.- Specified by:
getType
in interfaceCfnRule.PredicateProperty
-
$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()
-