interface ImmunityTimePropertyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.WAFv2.CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswafv2#CfnRuleGroupPropsMixin_ImmunityTimePropertyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty |
Python | aws_cdk.cfn_property_mixins.aws_wafv2.CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wafv2 » CfnRuleGroupPropsMixin » 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/cfn-property-mixins';
const immunityTimePropertyProperty: wafv2.CfnRuleGroupPropsMixin.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