aws-cdk-lib.aws_wafv2.CfnWebACL.CaptchaConfigProperty

interface CaptchaConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.WAFv2.CfnWebACL.CaptchaConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_CaptchaConfigProperty
Javasoftware.amazon.awscdk.services.wafv2.CfnWebACL.CaptchaConfigProperty
Pythonaws_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

NameTypeDescription
immunityTimeProperty?IResolvable | ImmunityTimePropertyPropertyDetermines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.

immunityTimeProperty?

Type: IResolvable | ImmunityTimePropertyProperty (optional)

Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.