

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

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

Specifies how Amazon WAF should handle `Challenge` evaluations. This is available at the web ACL level and in each rule. 

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

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

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

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

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

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

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

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