interface SlotDefaultValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.SlotDefaultValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_SlotDefaultValueProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SlotDefaultValueProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.SlotDefaultValueProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » 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/cfn-property-mixins';
const slotDefaultValueProperty: lex.CfnBotPropsMixin.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
(optional)
The default value to use when a user doesn't provide a value for a slot.

.NET
Go
Java
Python
TypeScript