# SubSlotTypeCompositionProperty

Subslot type composition.

- Source: Generated code
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const subSlotTypeCompositionProperty: lex.CfnBot.SubSlotTypeCompositionProperty = {
  name: 'name',

  // the properties below are optional
  slotTypeId: 'slotTypeId',
  slotTypeName: 'slotTypeName',
};
```

## Properties

- `name`: string (required) — Name of a constituent sub slot inside a composite slot.

- `slotTypeId`: string — 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.

- `slotTypeName`: string
