# 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.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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

- `destination`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.AudioLogDestinationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioLogDestinationProperty.html) (required) — Specifies the location of the audio log files collected when conversation logging is enabled for a bot.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Determines whether audio logging in enabled for the bot.
