Skip to content
v2.274.0

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 ​

Describes the annotations associated with an entity recognizer.
augmentedManifestsIResolvable | IResolvable | CfnEntityRecognizer.AugmentedManifestsListItemProperty[]augmented_manifeststyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AugmentedManifestsListItemProperty]]]augmentedManifestsIResolvableAugmentedManifestsIResolvableAugmentedManifestsinterface{}#
A list of augmented manifest files that provide training data for a custom model.
dataFormatstringdata_formatstrdataFormatStringDataFormatstringDataFormat*string#
The format of your training data.
Describes the training documents submitted with an entity recognizer.
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.