Skip to content
v2.278.0

AugmentedManifestsListItemProperty Struct ​

An augmented manifest file that provides training data for your custom 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 augmentedManifestsListItemProperty: comprehend.CfnEntityRecognizer.AugmentedManifestsListItemProperty = {
  attributeNames: ['attributeNames'],
  s3Uri: 's3Uri',

  // the properties below are optional
  annotationDataS3Uri: 'annotationDataS3Uri',
  documentType: 'documentType',
  sourceDocumentsS3Uri: 'sourceDocumentsS3Uri',
  split: 'split',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_comprehend as comprehend

augmented_manifests_list_item_property = comprehend.CfnEntityRecognizer.AugmentedManifestsListItemProperty(
    attribute_names=["attributeNames"],
    s3_uri="s3Uri",

    # the properties below are optional
    annotation_data_s3_uri="annotationDataS3Uri",
    document_type="documentType",
    source_documents_s3_uri="sourceDocumentsS3Uri",
    split="split"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;

AugmentedManifestsListItemProperty augmentedManifestsListItemProperty = AugmentedManifestsListItemProperty.builder()
        .attributeNames(List.of("attributeNames"))
        .s3Uri("s3Uri")

        // the properties below are optional
        .annotationDataS3Uri("annotationDataS3Uri")
        .documentType("documentType")
        .sourceDocumentsS3Uri("sourceDocumentsS3Uri")
        .split("split")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Comprehend;

var augmentedManifestsListItemProperty = new AugmentedManifestsListItemProperty {
    AttributeNames = new [] { "attributeNames" },
    S3Uri = "s3Uri",

    // the properties below are optional
    AnnotationDataS3Uri = "annotationDataS3Uri",
    DocumentType = "documentType",
    SourceDocumentsS3Uri = "sourceDocumentsS3Uri",
    Split = "split"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

augmentedManifestsListItemProperty := &AugmentedManifestsListItemProperty{
	AttributeNames: []*string{
		jsii.String("attributeNames"),
	},
	S3Uri: jsii.String("s3Uri"),

	// the properties below are optional
	AnnotationDataS3Uri: jsii.String("annotationDataS3Uri"),
	DocumentType: jsii.String("documentType"),
	SourceDocumentsS3Uri: jsii.String("sourceDocumentsS3Uri"),
	Split: jsii.String("split"),
}

Properties ​

annotationDataS3Urioptionalstringannotation_data_s3_urioptionalstrannotationDataS3UrioptionalStringAnnotationDataS3UrioptionalstringAnnotationDataS3Urioptional*string #
The S3 prefix to the annotation files that are referred in the augmented manifest file.
attributeNamesstring[]attribute_namestyping.List[str]attributeNamesList<String>AttributeNamesstring[]AttributeNames*[]*string required #
The JSON attribute that contains the annotations for your training documents.
documentTypeoptionalstringdocument_typeoptionalstrdocumentTypeoptionalStringDocumentTypeoptionalstringDocumentTypeoptional*string #
The type of augmented manifest.
s3Uristrings3_uristrs3UriStringS3UristringS3Uri*string required #
The Amazon S3 location of the augmented manifest file.
sourceDocumentsS3Urioptionalstringsource_documents_s3_urioptionalstrsourceDocumentsS3UrioptionalStringSourceDocumentsS3UrioptionalstringSourceDocumentsS3Urioptional*string #
The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.
splitoptionalstringsplitoptionalstrsplitoptionalStringSplitoptionalstringSplitoptional*string #
The purpose of the data you've provided in the augmented manifest.