# DocumentClassificationConfigProperty

Configuration required for a document classification model.

- 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_comprehend as comprehend } from 'aws-cdk-lib';
const documentClassificationConfigProperty: comprehend.CfnFlywheel.DocumentClassificationConfigProperty = {
  mode: 'mode',

  // the properties below are optional
  labels: ['labels'],
};
```

## Properties

- `labels`: string[] — One or more labels to associate with the custom classifier.

- `mode`: string (required) — Classification mode indicates whether the documents are `MULTI_CLASS` or `MULTI_LABEL` .
