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