interface SlotDefaultValueSpecificationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SlotDefaultValueSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SlotDefaultValueSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SlotDefaultValueSpecificationProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
default | IResolvable | IResolvable | Slot [] | A list of default values. |
defaultValueList
Type:
IResolvable
|
IResolvable
|
Slot
[]
A list of default values.
Amazon Lex chooses the default value to use in the order that they are presented in the list.