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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.CfnRule.PredicateProperty
CfnRule.PredicateProperty.Builder, CfnRule.PredicateProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRule.PredicateProperty.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 StringA unique identifier for a predicate in aRule, such asByteMatchSetIdorIPSetId.final ObjectSetNegatedtoFalseif you want AWS WAF to allow, block, or count requests based on the settings in the specifiedByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, orSizeConstraintSet.final StringgetType()The type of predicate in aRule, such asByteMatchorIPSet.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 theCfnRule.PredicateProperty.Builder.
-
-
Method Details
-
getDataId
Description copied from interface:CfnRule.PredicatePropertyA unique identifier for a predicate in aRule, such asByteMatchSetIdorIPSetId.The ID is returned by the corresponding
CreateorListcommand.- Specified by:
getDataIdin interfaceCfnRule.PredicateProperty
-
getNegated
Description copied from interface:CfnRule.PredicatePropertySetNegatedtoFalseif 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
IPSetincludes the IP address192.0.2.44, AWS WAF will allow or block requests based on that IP address.Set
NegatedtoTrueif 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 anIPSetincludes 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:
getNegatedin interfaceCfnRule.PredicateProperty
-
getType
Description copied from interface:CfnRule.PredicatePropertyThe type of predicate in aRule, such asByteMatchorIPSet.- Specified by:
getTypein interfaceCfnRule.PredicateProperty
-
$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()
-