interface CaptchaConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnWebACL.CaptchaConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_CaptchaConfigProperty |
Java | software.amazon.awscdk.services.wafv2.CfnWebACL.CaptchaConfigProperty |
Python | aws_cdk.aws_wafv2.CfnWebACL.CaptchaConfigProperty |
TypeScript | aws-cdk-lib » aws_wafv2 » CfnWebACL » CaptchaConfigProperty |
Specifies how AWS WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings.
If you don't specify this, AWS WAF uses its default settings for CaptchaConfig .
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 captchaConfigProperty: wafv2.CfnWebACL.CaptchaConfigProperty = {
immunityTimeProperty: {
immunityTime: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| immunity | IResolvable | Immunity | Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle. |
immunityTimeProperty?
Type:
IResolvable | Immunity
(optional)
Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.

.NET
Go
Java
Python
TypeScript