aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueProperty

interface SlotDefaultValueProperty

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

Specifies 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 slotDefaultValueProperty: lex.CfnBot.SlotDefaultValueProperty = {
  defaultValue: 'defaultValue',
};

Properties

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

defaultValue

Type: string

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