Skip to content
v2.274.0

MultipleValuesSettingProperty Struct ​

Indicates whether a slot can return multiple values.

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 ​

allowMultipleValuesoptionalboolean | IResolvableallow_multiple_valuesoptionaltyping.Union[bool, IResolvable]allowMultipleValuesoptionalBooleanAllowMultipleValuesoptionalboolAllowMultipleValuesoptionalinterface{}#
Indicates whether a slot can return multiple values.
notes

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 .