CfnEntityRecognizerEndpointProps Struct Added in v2.273.0
Properties for defining a CfnEntityRecognizerEndpoint.
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 cfnEntityRecognizerEndpointProps: comprehend.CfnEntityRecognizerEndpointProps = {
desiredInferenceUnits: 123,
endpointName: 'endpointName',
// the properties below are optional
dataAccessRoleArn: 'dataAccessRoleArn',
flywheelArn: 'flywheelArn',
modelArn: 'modelArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
dataAccessRoleArnstringdata_access_role_arnstrdataAccessRoleArnStringDataAccessRoleArnstringDataAccessRoleArn*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).
desiredInferenceUnitsnumberdesired_inference_unitsint | floatdesiredInferenceUnitsNumberDesiredInferenceUnitsdoubleDesiredInferenceUnits*float64required#The desired number of inference units to be used by the model.
Each inference unit represents throughput of 100 characters per second.
The name of the endpoint.
The name must be unique within the AWS Region and account.
The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.
The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached.