interface TaskConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Comprehend.CfnFlywheelPropsMixin.TaskConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscomprehend#CfnFlywheelPropsMixin_TaskConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnFlywheelPropsMixin.TaskConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_comprehend.CfnFlywheelPropsMixin.TaskConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_comprehend » CfnFlywheelPropsMixin » 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 { aws_comprehend as comprehend } from '@aws-cdk/cfn-property-mixins';
const taskConfigProperty: comprehend.CfnFlywheelPropsMixin.TaskConfigProperty = {
documentClassificationConfig: {
labels: ['labels'],
mode: 'mode',
},
entityRecognitionConfig: {
entityTypes: [{
type: 'type',
}],
},
languageCode: 'languageCode',
};
Properties
| Name | Type | Description |
|---|---|---|
| document | IResolvable | Document | Configuration required for a document classification model. |
| entity | IResolvable | Entity | Configuration required for an entity recognition model. |
| language | 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.
languageCode?
Type:
string
(optional)
Language code for the language that the model supports.

.NET
Go
Java
Python
TypeScript