# CfnDocumentClassifierEndpointProps

Properties for defining a `CfnDocumentClassifierEndpoint`.

Used as props by: [CfnDocumentClassifierEndpoint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_comprehend.CfnDocumentClassifierEndpoint.html)

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## 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 cfnDocumentClassifierEndpointProps: comprehend.CfnDocumentClassifierEndpointProps = {
  desiredInferenceUnits: 123,
  endpointName: 'endpointName',
  modelArn: 'modelArn',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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

cfn_document_classifier_endpoint_props = comprehend.CfnDocumentClassifierEndpointProps(
    desired_inference_units=123,
    endpoint_name="endpointName",
    model_arn="modelArn",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.*;

CfnDocumentClassifierEndpointProps cfnDocumentClassifierEndpointProps = CfnDocumentClassifierEndpointProps.builder()
        .desiredInferenceUnits(123)
        .endpointName("endpointName")
        .modelArn("modelArn")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 cfnDocumentClassifierEndpointProps = new CfnDocumentClassifierEndpointProps {
    DesiredInferenceUnits = 123,
    EndpointName = "endpointName",
    ModelArn = "modelArn",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnDocumentClassifierEndpointProps := &CfnDocumentClassifierEndpointProps{
	DesiredInferenceUnits: jsii.Number(123),
	EndpointName: jsii.String("endpointName"),
	ModelArn: jsii.String("modelArn"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `desiredInferenceUnits`: number (required) — The desired number of inference units to be used by the model.

  Each inference unit represents throughput of 100 characters per second.

- `endpointName`: string (required) — The name of the endpoint.

  The name must be unique within the AWS Region and account.

- `modelArn`: string (required) — The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags associated with the endpoint being created.
