Interface CfnBotPropsMixin.ICustomVocabularyItemProperty
Specifies an entry in a custom vocabulary.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnBotPropsMixin.ICustomVocabularyItemProperty
Syntax (vb)
Public Interface CfnBotPropsMixin.ICustomVocabularyItemProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins;
var customVocabularyItemProperty = new CustomVocabularyItemProperty {
DisplayAs = "displayAs",
Phrase = "phrase",
Weight = 123
};
Synopsis
Properties
| DisplayAs | The DisplayAs value for the custom vocabulary item from the custom vocabulary list. |
| Phrase | Specifies 1 - 4 words that should be recognized. |
| Weight | Specifies the degree to which the phrase recognition is boosted. |
Properties
DisplayAs
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
string? DisplayAs { get; }
Property Value
Remarks
Phrase
Specifies 1 - 4 words that should be recognized.
string? Phrase { get; }
Property Value
Remarks
Weight
Specifies the degree to which the phrase recognition is boosted.
double? Weight { get; }