1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. comprehend
  6. DocumentClassifierEndpoint

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    An Amazon Comprehend endpoint that hosts a custom document classification model for real-time inference.

    Create DocumentClassifierEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DocumentClassifierEndpoint(name: string, args: DocumentClassifierEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def DocumentClassifierEndpoint(resource_name: str,
                                   args: DocumentClassifierEndpointArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def DocumentClassifierEndpoint(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   desired_inference_units: Optional[int] = None,
                                   model_arn: Optional[str] = None,
                                   endpoint_name: Optional[str] = None,
                                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewDocumentClassifierEndpoint(ctx *Context, name string, args DocumentClassifierEndpointArgs, opts ...ResourceOption) (*DocumentClassifierEndpoint, error)
    public DocumentClassifierEndpoint(string name, DocumentClassifierEndpointArgs args, CustomResourceOptions? opts = null)
    public DocumentClassifierEndpoint(String name, DocumentClassifierEndpointArgs args)
    public DocumentClassifierEndpoint(String name, DocumentClassifierEndpointArgs args, CustomResourceOptions options)
    
    type: aws-native:comprehend:DocumentClassifierEndpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_comprehend_document_classifier_endpoint" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DocumentClassifierEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DocumentClassifierEndpointArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DocumentClassifierEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DocumentClassifierEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DocumentClassifierEndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DocumentClassifierEndpoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DocumentClassifierEndpoint resource accepts the following input properties:

    DesiredInferenceUnits int
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    ModelArn string
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    EndpointName string
    The name of the endpoint. The name must be unique within the AWS Region and account.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags associated with the endpoint being created.
    DesiredInferenceUnits int
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    ModelArn string
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    EndpointName string
    The name of the endpoint. The name must be unique within the AWS Region and account.
    Tags TagArgs
    Tags associated with the endpoint being created.
    desired_inference_units number
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    model_arn string
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    endpoint_name string
    The name of the endpoint. The name must be unique within the AWS Region and account.
    tags list(object)
    Tags associated with the endpoint being created.
    desiredInferenceUnits Integer
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    modelArn String
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    endpointName String
    The name of the endpoint. The name must be unique within the AWS Region and account.
    tags List<Tag>
    Tags associated with the endpoint being created.
    desiredInferenceUnits number
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    modelArn string
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    endpointName string
    The name of the endpoint. The name must be unique within the AWS Region and account.
    tags Tag[]
    Tags associated with the endpoint being created.
    desired_inference_units int
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    model_arn str
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    endpoint_name str
    The name of the endpoint. The name must be unique within the AWS Region and account.
    tags Sequence[TagArgs]
    Tags associated with the endpoint being created.
    desiredInferenceUnits Number
    The desired number of inference units to be used by the model. Each inference unit represents throughput of 100 characters per second.
    modelArn String
    The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.
    endpointName String
    The name of the endpoint. The name must be unique within the AWS Region and account.
    tags List<Property Map>
    Tags associated with the endpoint being created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DocumentClassifierEndpoint resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    CreationTime string
    The creation date and time of the endpoint.
    CurrentInferenceUnits int
    The number of inference units currently used by the model using this endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    The date and time that the endpoint was last modified.
    Arn string
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    CreationTime string
    The creation date and time of the endpoint.
    CurrentInferenceUnits int
    The number of inference units currently used by the model using this endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    The date and time that the endpoint was last modified.
    arn string
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    creation_time string
    The creation date and time of the endpoint.
    current_inference_units number
    The number of inference units currently used by the model using this endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_time string
    The date and time that the endpoint was last modified.
    arn String
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    creationTime String
    The creation date and time of the endpoint.
    currentInferenceUnits Integer
    The number of inference units currently used by the model using this endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    The date and time that the endpoint was last modified.
    arn string
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    creationTime string
    The creation date and time of the endpoint.
    currentInferenceUnits number
    The number of inference units currently used by the model using this endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    The date and time that the endpoint was last modified.
    arn str
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    creation_time str
    The creation date and time of the endpoint.
    current_inference_units int
    The number of inference units currently used by the model using this endpoint.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    The date and time that the endpoint was last modified.
    arn String
    The Amazon Resource Name (ARN) of the document classifier endpoint.
    creationTime String
    The creation date and time of the endpoint.
    currentInferenceUnits Number
    The number of inference units currently used by the model using this endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    The date and time that the endpoint was last modified.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial