aws-cdk-lib.aws_wafv2.CfnWebACL.ImmunityTimePropertyProperty

interface ImmunityTimePropertyProperty

LanguageType name
.NETAmazon.CDK.AWS.WAFv2.CfnWebACL.ImmunityTimePropertyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_ImmunityTimePropertyProperty
Javasoftware.amazon.awscdk.services.wafv2.CfnWebACL.ImmunityTimePropertyProperty
Pythonaws_cdk.aws_wafv2.CfnWebACL.ImmunityTimePropertyProperty
TypeScript aws-cdk-lib » aws_wafv2 » CfnWebACL » 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 { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const immunityTimePropertyProperty: wafv2.CfnWebACL.ImmunityTimePropertyProperty = {
  immunityTime: 123,
};

Properties

NameTypeDescription
immunityTimenumberThe amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF .

immunityTime

Type: number

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.