public static interface CfnRuleGroup.ImmunityTimePropertyProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRuleGroup.ImmunityTimePropertyProperty.Builder
A builder for
CfnRuleGroup.ImmunityTimePropertyProperty |
static class |
CfnRuleGroup.ImmunityTimePropertyProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.ImmunityTimePropertyProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRuleGroup.ImmunityTimePropertyProperty.Builder |
builder() |
java.lang.Number |
getImmunityTime()
The amount of time, in seconds, that a `CAPTCHA` or challenge timestamp is considered valid by AWS WAF .
|
java.lang.Number getImmunityTime()
The default setting is 300.
For the Challenge action, the minimum setting is 300.
static CfnRuleGroup.ImmunityTimePropertyProperty.Builder builder()