interface SlotDefaultValueSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_SlotDefaultValueSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const slotDefaultValueSpecificationProperty: lex_mixins.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty = {
defaultValueList: [{
defaultValue: 'defaultValue',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | IResolvable | (IResolvable | Slot)[] | A list of default values. |
defaultValueList?
Type:
IResolvable | (IResolvable | Slot)[]
(optional)
A list of default values.
Amazon Lex chooses the default value to use in the order that they are presented in the list.

.NET
Go
Java
Python
TypeScript