DocumentClassifierDocumentsProperty Struct
The location of the training documents.
This parameter is required in a request to create a semi-structured document classification model.
| Source | |
|---|---|
| Type last changed |
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 documentClassifierDocumentsProperty: comprehend.CfnDocumentClassifier.DocumentClassifierDocumentsProperty = {
s3Uri: 's3Uri',
// the properties below are optional
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
document_classifier_documents_property = comprehend.CfnDocumentClassifier.DocumentClassifierDocumentsProperty(
s3_uri="s3Uri",
# the properties below are optional
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.*;
DocumentClassifierDocumentsProperty documentClassifierDocumentsProperty = DocumentClassifierDocumentsProperty.builder()
.s3Uri("s3Uri")
// the properties below are optional
.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 documentClassifierDocumentsProperty = new DocumentClassifierDocumentsProperty {
S3Uri = "s3Uri",
// the properties below are optional
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"
documentClassifierDocumentsProperty := &DocumentClassifierDocumentsProperty{
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
TestS3Uri: jsii.String("testS3Uri"),
}
Properties
The S3 URI location of the training documents specified in the S3Uri CSV file.
testS3Urioptionalstringtest_s3_urioptionalstrtestS3UrioptionalStringTestS3UrioptionalstringTestS3Urioptional*string #The S3 URI location of the test documents included in the TestS3Uri CSV file.
This field is not required if you do not specify a test CSV file.