aws-cdk-lib.aws_lex.CfnBot.MultipleValuesSettingProperty

interface MultipleValuesSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.MultipleValuesSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_MultipleValuesSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.MultipleValuesSettingProperty
Pythonaws_cdk.aws_lex.CfnBot.MultipleValuesSettingProperty
TypeScript aws-cdk-lib » 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 { aws_lex as lex } from 'aws-cdk-lib';
const multipleValuesSettingProperty: lex.CfnBot.MultipleValuesSettingProperty = {
  allowMultipleValues: false,
};

Properties

NameTypeDescription
allowMultipleValues?boolean | IResolvableIndicates 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 .