# TaskConfigProperty

Configuration about the model associated with a flywheel.

- 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 taskConfigProperty: comprehend.CfnFlywheel.TaskConfigProperty = {
  languageCode: 'languageCode',

  // the properties below are optional
  documentClassificationConfig: {
    mode: 'mode',

    // the properties below are optional
    labels: ['labels'],
  },
  entityRecognitionConfig: {
    entityTypes: [{
      type: 'type',
    }],
  },
};
```

## Properties

- `documentClassificationConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlywheel.DocumentClassificationConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_comprehend.CfnFlywheel.DocumentClassificationConfigProperty.html) — Configuration required for a document classification model.

- `entityRecognitionConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlywheel.EntityRecognitionConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_comprehend.CfnFlywheel.EntityRecognitionConfigProperty.html) — Configuration required for an entity recognition model.

- `languageCode`: string (required) — Language code for the language that the model supports.
