

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::Bedrock::Guardrail WordPolicyConfig
<a name="aws-properties-bedrock-guardrail-wordpolicyconfig"></a>

Contains details about the word policy to configured for the guardrail.

## Syntax
<a name="aws-properties-bedrock-guardrail-wordpolicyconfig-syntax"></a>

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

### JSON
<a name="aws-properties-bedrock-guardrail-wordpolicyconfig-syntax.json"></a>

```
{
  "[ManagedWordListsConfig](#cfn-bedrock-guardrail-wordpolicyconfig-managedwordlistsconfig)" : {{[ ManagedWordsConfig, ... ]}},
  "[WordsConfig](#cfn-bedrock-guardrail-wordpolicyconfig-wordsconfig)" : {{[ WordConfig, ... ]}}
}
```

### YAML
<a name="aws-properties-bedrock-guardrail-wordpolicyconfig-syntax.yaml"></a>

```
  [ManagedWordListsConfig](#cfn-bedrock-guardrail-wordpolicyconfig-managedwordlistsconfig): {{
    - ManagedWordsConfig}}
  [WordsConfig](#cfn-bedrock-guardrail-wordpolicyconfig-wordsconfig): {{
    - WordConfig}}
```

## Properties
<a name="aws-properties-bedrock-guardrail-wordpolicyconfig-properties"></a>

`ManagedWordListsConfig`  <a name="cfn-bedrock-guardrail-wordpolicyconfig-managedwordlistsconfig"></a>
A list of managed words to configure for the guardrail.  
*Required*: No  
*Type*: Array of [ManagedWordsConfig](aws-properties-bedrock-guardrail-managedwordsconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`WordsConfig`  <a name="cfn-bedrock-guardrail-wordpolicyconfig-wordsconfig"></a>
A list of words to configure for the guardrail.  
*Required*: No  
*Type*: Array of [WordConfig](aws-properties-bedrock-guardrail-wordconfig.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)