Skip to content
v2.274.0

AugmentedManifestsListItemProperty Struct ​

An augmented manifest file that provides training data for your custom model.

An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

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 augmentedManifestsListItemProperty: comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty = {
  attributeNames: ['attributeNames'],
  s3Uri: 's3Uri',

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

Properties ​

attributeNamesstring[]attribute_namestyping.List[str]attributeNamesList<String>AttributeNamesstring[]AttributeNames*[]*stringrequired#
The JSON attribute that contains the annotations for your training documents.
notes

The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

s3Uristrings3_uristrs3UriStringS3UristringS3Uri*stringrequired#
The Amazon S3 location of the augmented manifest file.
splitoptionalstringsplitoptionalstrsplitoptionalStringSplitoptionalstringSplitoptional*string#
The purpose of the data you've provided in the augmented manifest.
notes

You can either train or test this data. If you don't specify, the default is train.

TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.

TEST - all of the documents in the manifest will be used for testing.