

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::WAFv2::WebACL CaptchaConfig
<a name="aws-properties-wafv2-webacl-captchaconfig"></a>

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`. 

## Syntax
<a name="aws-properties-wafv2-webacl-captchaconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-wafv2-webacl-captchaconfig-syntax.json"></a>

```
{
  "[ImmunityTimeProperty](#cfn-wafv2-webacl-captchaconfig-immunitytimeproperty)" : ImmunityTimeProperty
}
```

### YAML
<a name="aws-properties-wafv2-webacl-captchaconfig-syntax.yaml"></a>

```
  [ImmunityTimeProperty](#cfn-wafv2-webacl-captchaconfig-immunitytimeproperty): 
    ImmunityTimeProperty
```

## Properties
<a name="aws-properties-wafv2-webacl-captchaconfig-properties"></a>

`ImmunityTimeProperty`  <a name="cfn-wafv2-webacl-captchaconfig-immunitytimeproperty"></a>
Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle.   
*Required*: No  
*Type*: [ImmunityTimeProperty](aws-properties-wafv2-webacl-immunitytimeproperty.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)