interface SentimentAnalysisSettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBotAlias.SentimentAnalysisSettingsProperty |
Java | software.amazon.awscdk.services.lex.CfnBotAlias.SentimentAnalysisSettingsProperty |
Python | aws_cdk.aws_lex.CfnBotAlias.SentimentAnalysisSettingsProperty |
TypeScript | @aws-cdk/aws-lex » CfnBotAlias » SentimentAnalysisSettingsProperty |
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const sentimentAnalysisSettingsProperty: lex.CfnBotAlias.SentimentAnalysisSettingsProperty = {
detectSentiment: false,
};
Properties
Name | Type | Description |
---|---|---|
detect | boolean | IResolvable | Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances. |
detectSentiment
Type:
boolean |
IResolvable
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.