aws-cdk-lib.aws_lex.CfnBot.ConversationLogSettingsProperty

interface ConversationLogSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.ConversationLogSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_ConversationLogSettingsProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.ConversationLogSettingsProperty
Pythonaws_cdk.aws_lex.CfnBot.ConversationLogSettingsProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » ConversationLogSettingsProperty

Configures conversation logging that saves audio, text, and metadata for the conversations with your users.

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 conversationLogSettingsProperty: lex.CfnBot.ConversationLogSettingsProperty = {
  audioLogSettings: [{
    destination: {
      s3Bucket: {
        logPrefix: 'logPrefix',
        s3BucketArn: 's3BucketArn',

        // the properties below are optional
        kmsKeyArn: 'kmsKeyArn',
      },
    },
    enabled: false,
  }],
  textLogSettings: [{
    destination: {
      cloudWatch: {
        cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
        logPrefix: 'logPrefix',
      },
    },
    enabled: false,
  }],
};

Properties

NameTypeDescription
audioLogSettings?IResolvable | IResolvable | AudioLogSettingProperty[]The Amazon S3 settings for logging audio to an S3 bucket.
textLogSettings?IResolvable | IResolvable | TextLogSettingProperty[]The Amazon CloudWatch Logs settings for logging text and metadata.

audioLogSettings?

Type: IResolvable | IResolvable | AudioLogSettingProperty[] (optional)

The Amazon S3 settings for logging audio to an S3 bucket.


textLogSettings?

Type: IResolvable | IResolvable | TextLogSettingProperty[] (optional)

The Amazon CloudWatch Logs settings for logging text and metadata.