interface SlotDefaultValueProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.SlotDefaultValueProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.SlotDefaultValueProperty |
![]() | aws_cdk.aws_lex.CfnBot.SlotDefaultValueProperty |
![]() | @aws-cdk/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 * as lex from '@aws-cdk/aws-lex';
const slotDefaultValueProperty: lex.CfnBot.SlotDefaultValueProperty = {
defaultValue: 'defaultValue',
};
Properties
Name | Type | Description |
---|---|---|
default | string | The 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.