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