

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::Wisdom::AIGuardrail GuardrailContextualGroundingFilterConfig
<a name="aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig"></a>

A configuration for grounding filter.

## Syntax
<a name="aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-syntax"></a>

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

### JSON
<a name="aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-syntax.json"></a>

```
{
  "[Threshold](#cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-threshold)" : {{Number}},
  "[Type](#cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-type)" : {{String}}
}
```

### YAML
<a name="aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-syntax.yaml"></a>

```
  [Threshold](#cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-threshold): {{Number}}
  [Type](#cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-type): {{String}}
```

## Properties
<a name="aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-properties"></a>

`Threshold`  <a name="cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-threshold"></a>
The threshold for this filter.  
*Required*: Yes  
*Type*: Number  
*Minimum*: `0`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig-type"></a>
The type of this filter.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `GROUNDING | RELEVANCE`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)