CfnDocumentClassifierEndpointProps

class aws_cdk.aws_comprehend.CfnDocumentClassifierEndpointProps(*, desired_inference_units, endpoint_name, model_arn, tags=None)

Bases: object

Properties for defining a CfnDocumentClassifierEndpoint.

Parameters:
  • desired_inference_units (Union[int, float]) – The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.

  • endpoint_name (str) – The name of the endpoint. The name must be unique within the AWS Region and account.

  • model_arn (str) – The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags associated with the endpoint being created.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-documentclassifierendpoint.html

ExampleMetadata:

fixture=_generated

Example:

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"
    )]
)

Attributes

desired_inference_units

The desired number of inference units to be used by the model.

Each inference unit represents throughput of 100 characters per second.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-documentclassifierendpoint.html#cfn-comprehend-documentclassifierendpoint-desiredinferenceunits

endpoint_name

The name of the endpoint.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-documentclassifierendpoint.html#cfn-comprehend-documentclassifierendpoint-endpointname

model_arn

The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-documentclassifierendpoint.html#cfn-comprehend-documentclassifierendpoint-modelarn

tags

Tags associated with the endpoint being created.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-comprehend-documentclassifierendpoint.html#cfn-comprehend-documentclassifierendpoint-tags