interface ConversationLogSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.ConversationLogSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_ConversationLogSettingsProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.ConversationLogSettingsProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| audio | IResolvable | (IResolvable | Audio)[] | The Amazon S3 settings for logging audio to an S3 bucket. |
| text | IResolvable | (IResolvable | Text)[] | The Amazon CloudWatch Logs settings for logging text and metadata. |
audioLogSettings?
Type:
IResolvable | (IResolvable | Audio)[]
(optional)
The Amazon S3 settings for logging audio to an S3 bucket.
textLogSettings?
Type:
IResolvable | (IResolvable | Text)[]
(optional)
The Amazon CloudWatch Logs settings for logging text and metadata.

.NET
Go
Java
Python
TypeScript