interface SentimentAnalysisSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotAliasPropsMixin_SentimentAnalysisSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotAliasPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const sentimentAnalysisSettingsProperty: lex_mixins.CfnBotAliasPropsMixin.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
(optional)
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.

.NET
Go
Java
Python
TypeScript