interface SlotTypeValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.SlotTypeValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_SlotTypeValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.SlotTypeValueProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.SlotTypeValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const slotTypeValueProperty: lex_mixins.CfnBotPropsMixin.SlotTypeValueProperty = {
sampleValue: {
value: 'value',
},
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
(optional)
The value of the slot type entry.
synonyms?
Type:
IResolvable | (IResolvable | Sample)[]
(optional)
Additional values related to the slot type entry.

.NET
Go
Java
Python
TypeScript