aws-cdk-lib.aws_comprehend.CfnFlywheel.TaskConfigProperty

interface TaskConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Comprehend.CfnFlywheel.TaskConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscomprehend#CfnFlywheel_TaskConfigProperty
Javasoftware.amazon.awscdk.services.comprehend.CfnFlywheel.TaskConfigProperty
Pythonaws_cdk.aws_comprehend.CfnFlywheel.TaskConfigProperty
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
languageCodestringLanguage code for the language that the model supports.
documentClassificationConfig?IResolvable | DocumentClassificationConfigPropertyConfiguration required for a document classification model.
entityRecognitionConfig?IResolvable | EntityRecognitionConfigPropertyConfiguration required for an entity recognition model.

languageCode

Type: string

Language code for the language that the model supports.


documentClassificationConfig?

Type: IResolvable | DocumentClassificationConfigProperty (optional)

Configuration required for a document classification model.


entityRecognitionConfig?

Type: IResolvable | EntityRecognitionConfigProperty (optional)

Configuration required for an entity recognition model.