# DocumentClassifierDocumentsProperty

The location of the training documents.

This parameter is required in a request to create a semi-structured document classification model.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `s3Uri`: string (required) — The S3 URI location of the training documents specified in the S3Uri CSV file.

- `testS3Uri`: 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.
