

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 SlotDefaultValue
<a name="aws-properties-lex-bot-slotdefaultvalue"></a>

Specifies the default value to use when a user doesn't provide a value for a slot.

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

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

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

```
{
  "[DefaultValue](#cfn-lex-bot-slotdefaultvalue-defaultvalue)" : String
}
```

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

```
  [DefaultValue](#cfn-lex-bot-slotdefaultvalue-defaultvalue): String
```

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

`DefaultValue`  <a name="cfn-lex-bot-slotdefaultvalue-defaultvalue"></a>
The default value to use when a user doesn't provide a value for a slot.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `202`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)