

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

Subslot type composition.

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

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

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

```
{
  "[Name](#cfn-lex-bot-subslottypecomposition-name)" : String,
  "[SlotTypeId](#cfn-lex-bot-subslottypecomposition-slottypeid)" : String,
  "[SlotTypeName](#cfn-lex-bot-subslottypecomposition-slottypename)" : String
}
```

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

```
  [Name](#cfn-lex-bot-subslottypecomposition-name): String
  [SlotTypeId](#cfn-lex-bot-subslottypecomposition-slottypeid): String
  [SlotTypeName](#cfn-lex-bot-subslottypecomposition-slottypename): String
```

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

`Name`  <a name="cfn-lex-bot-subslottypecomposition-name"></a>
Name of a constituent sub slot inside a composite slot.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([0-9a-zA-Z][_-]?){1,100}$`  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SlotTypeId`  <a name="cfn-lex-bot-subslottypecomposition-slottypeid"></a>
The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.  
*Required*: No  
*Type*: String  
*Pattern*: `^((AMAZON\.)[a-zA-Z_]+?|[0-9a-zA-Z]+)$`  
*Minimum*: `1`  
*Maximum*: `25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SlotTypeName`  <a name="cfn-lex-bot-subslottypecomposition-slottypename"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)