Interface CfnRuleGroup.ImmunityTimePropertyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroup.ImmunityTimePropertyProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.ImmunityTimePropertyProperty
extends software.amazon.jsii.JsiiSerializable
Used for CAPTCHA and challenge token settings.
Determines how long a CAPTCHA
or challenge timestamp remains valid after AWS WAF updates it for a successful CAPTCHA
or challenge response.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.wafv2.*; ImmunityTimePropertyProperty immunityTimePropertyProperty = ImmunityTimePropertyProperty.builder() .immunityTime(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRuleGroup.ImmunityTimePropertyProperty
static final class
An implementation forCfnRuleGroup.ImmunityTimePropertyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The amount of time, in seconds, that aCAPTCHA
or challenge timestamp is considered valid by AWS WAF .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImmunityTime
The amount of time, in seconds, that aCAPTCHA
or challenge timestamp is considered valid by AWS WAF .The default setting is 300.
For the Challenge action, the minimum setting is 300.
- See Also:
-
builder
-