interface TaskConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Comprehend.CfnFlywheel.TaskConfigProperty |
Java | software.amazon.awscdk.services.comprehend.CfnFlywheel.TaskConfigProperty |
Python | aws_cdk.aws_comprehend.CfnFlywheel.TaskConfigProperty |
TypeScript | @aws-cdk/aws-comprehend » CfnFlywheel » TaskConfigProperty |
Configuration about the model associated with a flywheel.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as comprehend from '@aws-cdk/aws-comprehend';
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
| Name | Type | Description |
|---|---|---|
| language | string | Language code for the language that the model supports. |
| document | IResolvable | Document | Configuration required for a document classification model. |
| entity | IResolvable | Entity | Configuration required for an entity recognition model. |
languageCode
Type:
string
Language code for the language that the model supports.
documentClassificationConfig?
Type:
IResolvable | Document
(optional)
Configuration required for a document classification model.
entityRecognitionConfig?
Type:
IResolvable | Entity
(optional)
Configuration required for an entity recognition model.

.NET
Java
Python
TypeScript