aws-cdk-lib.aws_lex.CfnBotAlias.AudioLogSettingProperty

interface AudioLogSettingProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotAlias.AudioLogSettingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_AudioLogSettingProperty
Javasoftware.amazon.awscdk.services.lex.CfnBotAlias.AudioLogSettingProperty
Pythonaws_cdk.aws_lex.CfnBotAlias.AudioLogSettingProperty
TypeScript aws-cdk-lib » aws_lex » CfnBotAlias » 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.CfnBotAlias.AudioLogSettingProperty = {
  destination: {
    s3Bucket: {
      logPrefix: 'logPrefix',
      s3BucketArn: 's3BucketArn',

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

Properties

NameTypeDescription
destinationIResolvable | AudioLogDestinationPropertyThe location of 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

The location of 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.