Skip to content
v2.275.0

CfnDocumentClassifierEndpointProps Struct ​

Properties for defining a CfnDocumentClassifierEndpoint.

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

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

Properties ​

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.

modelArnstringmodel_arnstrmodelArnStringModelArnstringModelArn*stringrequired#
The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Tags associated with the endpoint being created.