interface CustomVocabularyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.CustomVocabularyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_CustomVocabularyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.CustomVocabularyProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.CustomVocabularyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » CustomVocabularyProperty |
Specifies a custom vocabulary.
A custom vocabulary is a list of words that you expect to be used during a conversation with your bot.
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 customVocabularyProperty: lex.CfnBotPropsMixin.CustomVocabularyProperty = {
customVocabularyItems: [{
displayAs: 'displayAs',
phrase: 'phrase',
weight: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| custom | IResolvable | (IResolvable | Custom)[] | Specifies a list of words that you expect to be used during a conversation with your bot. |
customVocabularyItems?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
Specifies a list of words that you expect to be used during a conversation with your bot.

.NET
Go
Java
Python
TypeScript