aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueSpecificationProperty

interface SlotDefaultValueSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.SlotDefaultValueSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotDefaultValueSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.SlotDefaultValueSpecificationProperty
Pythonaws_cdk.aws_lex.CfnBot.SlotDefaultValueSpecificationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » SlotDefaultValueSpecificationProperty

The default value to use when a user doesn't provide a value for a slot.

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 slotDefaultValueSpecificationProperty: lex.CfnBot.SlotDefaultValueSpecificationProperty = {
  defaultValueList: [{
    defaultValue: 'defaultValue',
  }],
};

Properties

NameTypeDescription
defaultValueListIResolvable | IResolvable | SlotDefaultValueProperty[]A list of default values.

defaultValueList

Type: IResolvable | IResolvable | SlotDefaultValueProperty[]

A list of default values.

Amazon Lex chooses the default value to use in the order that they are presented in the list.