aws-cdk-lib.aws_lex.CfnBot.SentimentAnalysisSettingsProperty

interface SentimentAnalysisSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.SentimentAnalysisSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SentimentAnalysisSettingsProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.SentimentAnalysisSettingsProperty
Pythonaws_cdk.aws_lex.CfnBot.SentimentAnalysisSettingsProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » 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-lib';
const sentimentAnalysisSettingsProperty: lex.CfnBot.SentimentAnalysisSettingsProperty = {
  detectSentiment: false,
};

Properties

NameTypeDescription
detectSentimentboolean | IResolvableSets 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.