interface ImmunityTimePropertyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLPropsMixin.ImmunityTimePropertyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLPropsMixin_ImmunityTimePropertyProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.ImmunityTimePropertyProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLPropsMixin.ImmunityTimePropertyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLPropsMixin » ImmunityTimePropertyProperty |
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 { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const immunityTimePropertyProperty: wafv2_mixins.CfnWebACLPropsMixin.ImmunityTimePropertyProperty = {
immunityTime: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| immunity | number | The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF . |
immunityTime?
Type:
number
(optional)
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF .
The default setting is 300.
For the Challenge action, the minimum setting is 300.

.NET
Go
Java
Python
TypeScript