We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Desired
Inference intUnits - 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.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags associated with the endpoint being created.
- Desired
Inference intUnits - 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.
-
Tag
Args - Tags associated with the endpoint being created.
- desired_
inference_ numberunits - 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.
- list(object)
- Tags associated with the endpoint being created.
- desired
Inference IntegerUnits - 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.
- List<Tag>
- Tags associated with the endpoint being created.
- desired
Inference numberUnits - 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.
- Tag[]
- Tags associated with the endpoint being created.
- desired_
inference_ intunits - 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.
-
Sequence[Tag
Args] - Tags associated with the endpoint being created.
- desired
Inference NumberUnits - 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.
- 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.
- Creation
Time string - The creation date and time of the endpoint.
- Current
Inference intUnits - 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 stringTime - 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 intUnits - 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 stringTime - 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_ numberunits - 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_ stringtime - 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 IntegerUnits - 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 StringTime - 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 numberUnits - 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 stringTime - 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_ intunits - 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_ strtime - 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 NumberUnits - 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 StringTime - The date and time that the endpoint was last modified.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi