interface SlotDefaultValueSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_SlotDefaultValueSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const slotDefaultValueSpecificationProperty: lex.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