AWS::Comprehend::Flywheel DocumentClassificationConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Comprehend::Flywheel DocumentClassificationConfig

Configuration required for a document classification model.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Labels" : [ String, ... ], "Mode" : String }

YAML

Labels: - String Mode: String

Properties

Labels

One or more labels to associate with the custom classifier.

Required: No

Type: Array of String

Maximum: 5000 | 1000

Update requires: Replacement

Mode

Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

Required: Yes

Type: String

Allowed values: MULTI_CLASS | MULTI_LABEL

Update requires: Replacement