Skip to content
v2.273.0

DocumentClassifierDocumentsProperty Struct ​

The location of the training documents.

This parameter is required in a request to create a semi-structured document classification model.

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 documentClassifierDocumentsProperty: comprehend.CfnDocumentClassifier.DocumentClassifierDocumentsProperty = {
  s3Uri: 's3Uri',

  // the properties below are optional
  testS3Uri: 'testS3Uri',
};

Properties ​

s3Uristrings3_uristrs3UriStringS3UristringS3Uri*stringrequired#
The S3 URI location of the training documents specified in the S3Uri CSV file.
testS3Uristringtest_s3_uristrtestS3UriStringTestS3UristringTestS3Uri*string#
The S3 URI location of the test documents included in the TestS3Uri CSV file.

This field is not required if you do not specify a test CSV file.