Skip to content
v2.278.0

EntityRecognizerDocumentsProperty Struct ​

Describes the training documents submitted with 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 entityRecognizerDocumentsProperty: comprehend.CfnEntityRecognizer.EntityRecognizerDocumentsProperty = {
  s3Uri: 's3Uri',

  // the properties below are optional
  inputFormat: 'inputFormat',
  testS3Uri: 'testS3Uri',
};
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

entity_recognizer_documents_property = comprehend.CfnEntityRecognizer.EntityRecognizerDocumentsProperty(
    s3_uri="s3Uri",

    # the properties below are optional
    input_format="inputFormat",
    test_s3_uri="testS3Uri"
)
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.*;

EntityRecognizerDocumentsProperty entityRecognizerDocumentsProperty = EntityRecognizerDocumentsProperty.builder()
        .s3Uri("s3Uri")

        // the properties below are optional
        .inputFormat("inputFormat")
        .testS3Uri("testS3Uri")
        .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 entityRecognizerDocumentsProperty = new EntityRecognizerDocumentsProperty {
    S3Uri = "s3Uri",

    // the properties below are optional
    InputFormat = "inputFormat",
    TestS3Uri = "testS3Uri"
};
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"

entityRecognizerDocumentsProperty := &EntityRecognizerDocumentsProperty{
	S3Uri: jsii.String("s3Uri"),

	// the properties below are optional
	InputFormat: jsii.String("inputFormat"),
	TestS3Uri: jsii.String("testS3Uri"),
}

Properties ​

inputFormatoptionalstringinput_formatoptionalstrinputFormatoptionalStringInputFormatoptionalstringInputFormatoptional*string #
Specifies how the text in an input file should be processed.
s3Uristrings3_uristrs3UriStringS3UristringS3Uri*string required #
Specifies the Amazon S3 location where the training documents are located.
testS3Urioptionalstringtest_s3_urioptionalstrtestS3UrioptionalStringTestS3UrioptionalstringTestS3Urioptional*string #
Specifies the Amazon S3 location where the test documents are located.