Class CfnRuleGroup.RuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleGroup.RuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnRuleGroup.RuleProperty
CfnRuleGroup.RuleProperty-
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.wafv2.CfnRuleGroup.RuleProperty
CfnRuleGroup.RuleProperty.Builder, CfnRuleGroup.RuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRuleGroup.RuleProperty.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 ObjectThe action that AWS WAF should take on a web request when it matches the rule statement.final ObjectSpecifies how AWS WAF should handleCAPTCHAevaluations.final ObjectSpecifies how AWS WAF should handleChallengeevaluations.final StringgetName()The name of the rule.final NumberIf you define more than oneRulein aWebACL, AWS WAF evaluates each request against theRulesin order based on the value ofPriority.final ObjectLabels to apply to web requests that match the rule match statement.final ObjectThe AWS WAF processing statement for the rule, for exampleByteMatchStatementorSizeConstraintStatement.final ObjectDefines and enables Amazon CloudWatch metrics and web request sample collection.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 theCfnRuleGroup.RuleProperty.Builder.
-
-
Method Details
-
getName
Description copied from interface:CfnRuleGroup.RulePropertyThe name of the rule.You can't change the name of a
Ruleafter you create it.- Specified by:
getNamein interfaceCfnRuleGroup.RuleProperty
-
getPriority
Description copied from interface:CfnRuleGroup.RulePropertyIf you define more than oneRulein aWebACL, AWS WAF evaluates each request against theRulesin order based on the value ofPriority.AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.
- Specified by:
getPriorityin interfaceCfnRuleGroup.RuleProperty
-
getStatement
Description copied from interface:CfnRuleGroup.RulePropertyThe AWS WAF processing statement for the rule, for exampleByteMatchStatementorSizeConstraintStatement.- Specified by:
getStatementin interfaceCfnRuleGroup.RuleProperty
-
getVisibilityConfig
Description copied from interface:CfnRuleGroup.RulePropertyDefines and enables Amazon CloudWatch metrics and web request sample collection.- Specified by:
getVisibilityConfigin interfaceCfnRuleGroup.RuleProperty
-
getAction
Description copied from interface:CfnRuleGroup.RulePropertyThe action that AWS WAF should take on a web request when it matches the rule statement.Settings at the web ACL level can override the rule action setting.
- Specified by:
getActionin interfaceCfnRuleGroup.RuleProperty
-
getCaptchaConfig
Description copied from interface:CfnRuleGroup.RulePropertySpecifies how AWS WAF should handleCAPTCHAevaluations.If you don't specify this, AWS WAF uses the
CAPTCHAconfiguration that's defined for the web ACL.- Specified by:
getCaptchaConfigin interfaceCfnRuleGroup.RuleProperty
-
getChallengeConfig
Description copied from interface:CfnRuleGroup.RulePropertySpecifies how AWS WAF should handleChallengeevaluations.If you don't specify this, AWS WAF uses the challenge configuration that's defined for the web ACL.
- Specified by:
getChallengeConfigin interfaceCfnRuleGroup.RuleProperty
-
getRuleLabels
Description copied from interface:CfnRuleGroup.RulePropertyLabels to apply to web requests that match the rule match statement.AWS WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace.
Rules that run after this rule in the web ACL can match against these labels using a
LabelMatchStatement.For each label, provide a case-sensitive string containing optional namespaces and a label name, according to the following guidelines:
- Separate each component of the label with a colon.
- Each namespace or name can have up to 128 characters.
- You can specify up to 5 namespaces in a label.
- Don't use the following reserved words in your label specification:
aws,waf,managed,rulegroup,webacl,regexpatternset, oripset.
For example,
myLabelNameornameSpace1:nameSpace2:myLabelName.- Specified by:
getRuleLabelsin interfaceCfnRuleGroup.RuleProperty
-
$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()
-