Skip to content
v2.273.0

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.

endpointNamestringendpoint_namestrendpointNameStringEndpointNamestringEndpointName*stringrequired#
The name of the endpoint.

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

flywheelArnstringflywheel_arnstrflywheelArnStringFlywheelArnstringFlywheelArn*string#
The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.
modelArnstringmodel_arnstrmodelArnStringModelArnstringModelArn*string#
The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
Tags associated with the endpoint being created.

Used as props by ​