aws-cdk-lib.aws_lex.CfnBot.AudioLogSettingProperty

interface AudioLogSettingProperty

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

Settings for logging audio of conversations between Amazon Lex and a user.

You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.

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 audioLogSettingProperty: lex.CfnBot.AudioLogSettingProperty = {
  destination: {
    s3Bucket: {
      logPrefix: 'logPrefix',
      s3BucketArn: 's3BucketArn',

      // the properties below are optional
      kmsKeyArn: 'kmsKeyArn',
    },
  },
  enabled: false,
};

Properties

NameTypeDescription
destinationIResolvable | AudioLogDestinationPropertySpecifies the location of the audio log files collected when conversation logging is enabled for a bot.
enabledboolean | IResolvableDetermines whether audio logging in enabled for the bot.

destination

Type: IResolvable | AudioLogDestinationProperty

Specifies the location of the audio log files collected when conversation logging is enabled for a bot.


enabled

Type: boolean | IResolvable

Determines whether audio logging in enabled for the bot.