

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::Lex::Bot SlotValueSelectionSetting
<a name="aws-properties-lex-bot-slotvalueselectionsetting"></a>

Contains settings used by Amazon Lex to select a slot value.

## Syntax
<a name="aws-properties-lex-bot-slotvalueselectionsetting-syntax"></a>

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

### JSON
<a name="aws-properties-lex-bot-slotvalueselectionsetting-syntax.json"></a>

```
{
  "[AdvancedRecognitionSetting](#cfn-lex-bot-slotvalueselectionsetting-advancedrecognitionsetting)" : AdvancedRecognitionSetting,
  "[RegexFilter](#cfn-lex-bot-slotvalueselectionsetting-regexfilter)" : SlotValueRegexFilter,
  "[ResolutionStrategy](#cfn-lex-bot-slotvalueselectionsetting-resolutionstrategy)" : String
}
```

### YAML
<a name="aws-properties-lex-bot-slotvalueselectionsetting-syntax.yaml"></a>

```
  [AdvancedRecognitionSetting](#cfn-lex-bot-slotvalueselectionsetting-advancedrecognitionsetting): 
    AdvancedRecognitionSetting
  [RegexFilter](#cfn-lex-bot-slotvalueselectionsetting-regexfilter): 
    SlotValueRegexFilter
  [ResolutionStrategy](#cfn-lex-bot-slotvalueselectionsetting-resolutionstrategy): String
```

## Properties
<a name="aws-properties-lex-bot-slotvalueselectionsetting-properties"></a>

`AdvancedRecognitionSetting`  <a name="cfn-lex-bot-slotvalueselectionsetting-advancedrecognitionsetting"></a>
Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.  
*Required*: No  
*Type*: [AdvancedRecognitionSetting](aws-properties-lex-bot-advancedrecognitionsetting.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RegexFilter`  <a name="cfn-lex-bot-slotvalueselectionsetting-regexfilter"></a>
A regular expression used to validate the value of a slot.  
*Required*: No  
*Type*: [SlotValueRegexFilter](aws-properties-lex-bot-slotvalueregexfilter.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ResolutionStrategy`  <a name="cfn-lex-bot-slotvalueselectionsetting-resolutionstrategy"></a>
Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values:  
+ `ORIGINAL_VALUE` - Returns the value entered by the user, if the user value is similar to the slot value.
+ `TOP_RESOLUTION` - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don't specify the `valueSelectionStrategy`, the default is `ORIGINAL_VALUE`.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `ORIGINAL_VALUE | TOP_RESOLUTION | CONCATENATION`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)