interface ConversationLogSettingsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBotAlias.ConversationLogSettingsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_ConversationLogSettingsProperty |
![]() | software.amazon.awscdk.services.lex.CfnBotAlias.ConversationLogSettingsProperty |
![]() | aws_cdk.aws_lex.CfnBotAlias.ConversationLogSettingsProperty |
![]() | aws-cdk-lib » aws_lex » CfnBotAlias » 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.CfnBotAlias.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.