# MultipleValuesSettingProperty

Indicates whether a slot can return multiple values.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

multiple_values_setting_property = lex.CfnBot.MultipleValuesSettingProperty(
    allow_multiple_values=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

MultipleValuesSettingProperty multipleValuesSettingProperty = MultipleValuesSettingProperty.builder()
        .allowMultipleValues(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var multipleValuesSettingProperty = new MultipleValuesSettingProperty {
    AllowMultipleValues = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

multipleValuesSettingProperty := &MultipleValuesSettingProperty{
	AllowMultipleValues: jsii.Boolean(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` .
