Interface CfnBot.CustomVocabularyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBot.CustomVocabularyProperty.Jsii$Proxy
Enclosing class:
CfnBot

@Stability(Stable) public static interface CfnBot.CustomVocabularyProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lex.*;
 CustomVocabularyProperty customVocabularyProperty = CustomVocabularyProperty.builder()
         .customVocabularyItems(List.of(CustomVocabularyItemProperty.builder()
                 .phrase("phrase")
                 // the properties below are optional
                 .displayAs("displayAs")
                 .weight(123)
                 .build()))
         .build();
 

See Also: