# CfnEntityRecognizerEndpointProps

Properties for defining a `CfnEntityRecognizerEndpoint`.

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

- Source: Generated at build time
- Type last changed: v2.273.0 · 8 Oct 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 cfnEntityRecognizerEndpointProps: comprehend.CfnEntityRecognizerEndpointProps = {
  desiredInferenceUnits: 123,
  endpointName: 'endpointName',

  // the properties below are optional
  dataAccessRoleArn: 'dataAccessRoleArn',
  flywheelArn: 'flywheelArn',
  modelArn: 'modelArn',
  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_entity_recognizer_endpoint_props = comprehend.CfnEntityRecognizerEndpointProps(
    desired_inference_units=123,
    endpoint_name="endpointName",

    # the properties below are optional
    data_access_role_arn="dataAccessRoleArn",
    flywheel_arn="flywheelArn",
    model_arn="modelArn",
    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.*;

CfnEntityRecognizerEndpointProps cfnEntityRecognizerEndpointProps = CfnEntityRecognizerEndpointProps.builder()
        .desiredInferenceUnits(123)
        .endpointName("endpointName")

        // the properties below are optional
        .dataAccessRoleArn("dataAccessRoleArn")
        .flywheelArn("flywheelArn")
        .modelArn("modelArn")
        .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 cfnEntityRecognizerEndpointProps = new CfnEntityRecognizerEndpointProps {
    DesiredInferenceUnits = 123,
    EndpointName = "endpointName",

    // the properties below are optional
    DataAccessRoleArn = "dataAccessRoleArn",
    FlywheelArn = "flywheelArn",
    ModelArn = "modelArn",
    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"

cfnEntityRecognizerEndpointProps := &CfnEntityRecognizerEndpointProps{
	DesiredInferenceUnits: jsii.Number(123),
	EndpointName: jsii.String("endpointName"),

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

## Properties

- `dataAccessRoleArn`: string — The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

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

- `flywheelArn`: string — The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.

- `modelArn`: string — The Amazon Resource Name (ARN) of the entity recognizer 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.
