interface MultipleValuesSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.MultipleValuesSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_MultipleValuesSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.MultipleValuesSettingProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.MultipleValuesSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const multipleValuesSettingProperty: lex_mixins.CfnBotPropsMixin.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
Go
Java
Python
TypeScript