# TextLogSettingProperty

Defines settings to enable text conversation logs.

- 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 textLogSettingProperty: lex.CfnBot.TextLogSettingProperty = {
  destination: {
    cloudWatch: {
      cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
      logPrefix: 'logPrefix',
    },
  },
  enabled: false,
};
```

## Properties

- `destination`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.TextLogDestinationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.TextLogDestinationProperty.html) (required) — Specifies the Amazon CloudWatch Logs destination log group for conversation text logs.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Determines whether conversation logs should be stored for an alias.
