EntityRecognizerInputDataConfigProperty Struct
Specifies the format and location of the input data for an entity recognizer.
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 entityRecognizerInputDataConfigProperty: comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty = {
entityTypes: [{
type: 'type',
}],
// the properties below are optional
annotations: {
s3Uri: 's3Uri',
// the properties below are optional
testS3Uri: 'testS3Uri',
},
augmentedManifests: [{
attributeNames: ['attributeNames'],
s3Uri: 's3Uri',
// the properties below are optional
annotationDataS3Uri: 'annotationDataS3Uri',
documentType: 'documentType',
sourceDocumentsS3Uri: 'sourceDocumentsS3Uri',
split: 'split',
}],
dataFormat: 'dataFormat',
documents: {
s3Uri: 's3Uri',
// the properties below are optional
inputFormat: 'inputFormat',
testS3Uri: 'testS3Uri',
},
entityList: {
s3Uri: 's3Uri',
},
};
Properties
annotationsoptionalIResolvable | CfnEntityRecognizer.EntityRecognizerAnnotationsPropertyannotationsoptionaltyping.Union[IResolvable, EntityRecognizerAnnotationsProperty]annotationsoptionalIResolvableAnnotationsoptionalIResolvableAnnotationsoptionalinterface{}#Describes the annotations associated with an entity recognizer.
augmentedManifestsoptionalIResolvable | IResolvable | CfnEntityRecognizer.AugmentedManifestsListItemProperty[]augmented_manifestsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AugmentedManifestsListItemProperty]]]augmentedManifestsoptionalIResolvableAugmentedManifestsoptionalIResolvableAugmentedManifestsoptionalinterface{}#A list of augmented manifest files that provide training data for a custom model.
dataFormatoptionalstringdata_formatoptionalstrdataFormatoptionalStringDataFormatoptionalstringDataFormatoptional*string#The format of your training data.
documentsoptionalIResolvable | CfnEntityRecognizer.EntityRecognizerDocumentsPropertydocumentsoptionaltyping.Union[IResolvable, EntityRecognizerDocumentsProperty]documentsoptionalIResolvableDocumentsoptionalIResolvableDocumentsoptionalinterface{}#Describes the training documents submitted with an entity recognizer.
entityListoptionalIResolvable | CfnEntityRecognizer.EntityRecognizerEntityListPropertyentity_listoptionaltyping.Union[IResolvable, EntityRecognizerEntityListProperty]entityListoptionalIResolvableEntityListoptionalIResolvableEntityListoptionalinterface{}#Describes the entity list submitted with an entity recognizer.
entityTypesIResolvable | IResolvable | CfnEntityRecognizer.EntityTypesListItemProperty[]entity_typestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EntityTypesListItemProperty]]]entityTypesIResolvableEntityTypesIResolvableEntityTypesinterface{}required#The entity types in the labeled training data.