TaskConfigProperty Struct
Configuration about the model associated with a flywheel.
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
documentClassificationConfigIResolvable | CfnFlywheel.DocumentClassificationConfigPropertydocument_classification_configtyping.Union[IResolvable, DocumentClassificationConfigProperty]documentClassificationConfigIResolvableDocumentClassificationConfigIResolvableDocumentClassificationConfiginterface{}#Configuration required for a document classification model.
entityRecognitionConfigIResolvable | CfnFlywheel.EntityRecognitionConfigPropertyentity_recognition_configtyping.Union[IResolvable, EntityRecognitionConfigProperty]entityRecognitionConfigIResolvableEntityRecognitionConfigIResolvableEntityRecognitionConfiginterface{}#Configuration required for an entity recognition model.
Language code for the language that the model supports.