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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.wafv2.CfnRuleGroup.RuleProperty
CfnRuleGroup.RuleProperty.Builder, CfnRuleGroup.RuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRuleGroup.RuleProperty.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
The action that AWS WAF should take on a web request when it matches the rule statement.final Object
Specifies how AWS WAF should handleCAPTCHA
evaluations.final Object
Specifies how AWS WAF should handleChallenge
evaluations.final String
getName()
The name of the rule.final Number
If you define more than oneRule
in aWebACL
, AWS WAF evaluates each request against theRules
in order based on the value ofPriority
.final Object
Labels to apply to web requests that match the rule match statement.final Object
The AWS WAF processing statement for the rule, for exampleByteMatchStatement
orSizeConstraintStatement
.final Object
Defines and enables Amazon CloudWatch metrics and web request sample collection.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 theCfnRuleGroup.RuleProperty.Builder
.
-
-
Method Details
-
getName
Description copied from interface:CfnRuleGroup.RuleProperty
The name of the rule.If you change the name of a
Rule
after you create it and you want the rule's metric name to reflect the change, update the metric name in the rule'sVisibilityConfig
settings. AWS WAF doesn't automatically update the metric name when you update the rule name.- Specified by:
getName
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getPriority
Description copied from interface:CfnRuleGroup.RuleProperty
If you define more than oneRule
in aWebACL
, AWS WAF evaluates each request against theRules
in 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:
getPriority
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getStatement
Description copied from interface:CfnRuleGroup.RuleProperty
The AWS WAF processing statement for the rule, for exampleByteMatchStatement
orSizeConstraintStatement
.- Specified by:
getStatement
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getVisibilityConfig
Description copied from interface:CfnRuleGroup.RuleProperty
Defines and enables Amazon CloudWatch metrics and web request sample collection.If you change the name of a
Rule
after you create it and you want the rule's metric name to reflect the change, update the metric name as well. AWS WAF doesn't automatically update the metric name.- Specified by:
getVisibilityConfig
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getAction
Description copied from interface:CfnRuleGroup.RuleProperty
The 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:
getAction
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getCaptchaConfig
Description copied from interface:CfnRuleGroup.RuleProperty
Specifies how AWS WAF should handleCAPTCHA
evaluations.If you don't specify this, AWS WAF uses the
CAPTCHA
configuration that's defined for the web ACL.- Specified by:
getCaptchaConfig
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getChallengeConfig
Description copied from interface:CfnRuleGroup.RuleProperty
Specifies how AWS WAF should handleChallenge
evaluations.If you don't specify this, AWS WAF uses the challenge configuration that's defined for the web ACL.
- Specified by:
getChallengeConfig
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
getRuleLabels
Description copied from interface:CfnRuleGroup.RuleProperty
Labels 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,
myLabelName
ornameSpace1:nameSpace2:myLabelName
.- Specified by:
getRuleLabels
in interfaceCfnRuleGroup.RuleProperty
- See Also:
-
$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()
-