aws-cdk-lib.aws_comprehend.CfnFlywheel.DocumentClassificationConfigProperty

interface DocumentClassificationConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Comprehend.CfnFlywheel.DocumentClassificationConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscomprehend#CfnFlywheel_DocumentClassificationConfigProperty
Javasoftware.amazon.awscdk.services.comprehend.CfnFlywheel.DocumentClassificationConfigProperty
Pythonaws_cdk.aws_comprehend.CfnFlywheel.DocumentClassificationConfigProperty
TypeScript aws-cdk-lib » aws_comprehend » CfnFlywheel » DocumentClassificationConfigProperty

Configuration required for a document classification model.

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 documentClassificationConfigProperty: comprehend.CfnFlywheel.DocumentClassificationConfigProperty = {
  mode: 'mode',

  // the properties below are optional
  labels: ['labels'],
};

Properties

NameTypeDescription
modestringClassification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL .
labels?string[]One or more labels to associate with the custom classifier.

mode

Type: string

Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL .


labels?

Type: string[] (optional)

One or more labels to associate with the custom classifier.