interface SentimentAnalysisSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotAliasPropsMixin_SentimentAnalysisSettingsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotAliasPropsMixin.SentimentAnalysisSettingsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const sentimentAnalysisSettingsProperty: lex.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