interface SlotTypeValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SlotTypeValueProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SlotTypeValueProperty |
Python | aws_cdk.aws_lex.CfnBot.SlotTypeValueProperty |
TypeScript | @aws-cdk/aws-lex » CfnBot » SlotTypeValueProperty |
Each slot type can have a set of values.
Each SlotTypeValue represents a value that the slot type can take.
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 slotTypeValueProperty: lex.CfnBot.SlotTypeValueProperty = {
sampleValue: {
value: 'value',
},
// the properties below are optional
synonyms: [{
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| sample | IResolvable | Sample | The value of the slot type entry. |
| synonyms? | IResolvable | IResolvable | Sample[] | Additional values related to the slot type entry. |
sampleValue
Type:
IResolvable | Sample
The value of the slot type entry.
synonyms?
Type:
IResolvable | IResolvable | Sample[]
(optional)
Additional values related to the slot type entry.

.NET
Java
Python
TypeScript