# MultipleValuesSettingProperty

Indicates whether a slot can return multiple values.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 multipleValuesSettingProperty: lex.CfnBot.MultipleValuesSettingProperty = {
  allowMultipleValues: false,
};
```

## Properties

- `allowMultipleValues`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether a slot can return multiple values.

  When `true` , the slot may return more than one value in a response. When `false` , the slot returns only a single value.

  Multi-value slots are only available in the en-US locale. If you set this value to `true` in any other locale, Amazon Lex throws a `ValidationException` .

  If the `allowMutlipleValues` is not set, the default value is `false` .
