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.If you change the name of a
Ruleafter you create it and you want the rule's metric name to reflect the change, update the metric name in the rule'sVisibilityConfigsettings. AWS WAF doesn't automatically update the metric name when you update the rule name.- Specified by:
getNamein interfaceCfnRuleGroup.RuleProperty- See Also:
-
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- See Also:
-
getStatement
Description copied from interface:CfnRuleGroup.RulePropertyThe AWS WAF processing statement for the rule, for exampleByteMatchStatementorSizeConstraintStatement.Returns union: either
IResolvableorCfnRuleGroup.StatementProperty- Specified by:
getStatementin interfaceCfnRuleGroup.RuleProperty- See Also:
-
getVisibilityConfig
Description copied from interface:CfnRuleGroup.RulePropertyDefines and enables Amazon CloudWatch metrics and web request sample collection.If you change the name of a
Ruleafter 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.Returns union: either
IResolvableorCfnRuleGroup.VisibilityConfigProperty- Specified by:
getVisibilityConfigin interfaceCfnRuleGroup.RuleProperty- See Also:
-
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.
Returns union: either
IResolvableorCfnRuleGroup.RuleActionProperty- Specified by:
getActionin interfaceCfnRuleGroup.RuleProperty- See Also:
-
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.Returns union: either
IResolvableorCfnRuleGroup.CaptchaConfigProperty- Specified by:
getCaptchaConfigin interfaceCfnRuleGroup.RuleProperty- See Also:
-
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.
Returns union: either
IResolvableorCfnRuleGroup.ChallengeConfigProperty- Specified by:
getChallengeConfigin interfaceCfnRuleGroup.RuleProperty- See Also:
-
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.
Any rule that isn't a rule group reference statement or managed rule group statement can add labels to matching web requests.
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRuleGroup.LabelProperty>- Specified by:
getRuleLabelsin interfaceCfnRuleGroup.RuleProperty- See Also:
-
$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()
-