interface MultipleValuesSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.MultipleValuesSettingProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.MultipleValuesSettingProperty |
Python | aws_cdk.aws_lex.CfnBot.MultipleValuesSettingProperty |
TypeScript | @aws-cdk/aws-lex » CfnBot » MultipleValuesSettingProperty |
Indicates whether a slot can return multiple values.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const multipleValuesSettingProperty: lex.CfnBot.MultipleValuesSettingProperty = {
allowMultipleValues: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| allow | boolean | IResolvable | Indicates whether a slot can return multiple values. |
allowMultipleValues?
Type:
boolean | IResolvable
(optional)
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 .

.NET
Java
Python
TypeScript