Class CfnDocumentClassifierEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.comprehend.CfnDocumentClassifierEndpoint
- All Implemented Interfaces:
IInspectable,IDocumentClassifierEndpointRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:48.430Z")
@Stability(Stable)
public class CfnDocumentClassifierEndpoint
extends CfnResource
implements IInspectable, IDocumentClassifierEndpointRef, ITaggableV2
An Amazon Comprehend endpoint that hosts a custom document classification model for real-time inference.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;
CfnDocumentClassifierEndpoint cfnDocumentClassifierEndpoint = CfnDocumentClassifierEndpoint.Builder.create(this, "MyCfnDocumentClassifierEndpoint")
.desiredInferenceUnits(123)
.endpointName("endpointName")
.modelArn("modelArn")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDocumentClassifierEndpoint.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.comprehend.IDocumentClassifierEndpointRef
IDocumentClassifierEndpointRef.Jsii$Default, IDocumentClassifierEndpointRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDocumentClassifierEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDocumentClassifierEndpoint(software.amazon.jsii.JsiiObjectRef objRef) CfnDocumentClassifierEndpoint(software.constructs.Construct scope, String id, CfnDocumentClassifierEndpointProps props) Create a newAWS::Comprehend::DocumentClassifierEndpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the document classifier endpoint.The creation date and time of the endpoint.The number of inference units currently used by the model using this endpoint.The date and time that the endpoint was last modified.Tag Manager which manages the tags for this resource.The desired number of inference units to be used by the model.A reference to a DocumentClassifierEndpoint resource.The name of the endpoint.The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.getTags()Tags associated with the endpoint being created.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDocumentClassifierEndpoint.renderProperties(Map<String, Object> props) voidsetDesiredInferenceUnits(Number value) The desired number of inference units to be used by the model.voidsetEndpointName(String value) The name of the endpoint.voidsetModelArn(String value) The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached.voidTags associated with the endpoint being created.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDocumentClassifierEndpoint
protected CfnDocumentClassifierEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDocumentClassifierEndpoint
protected CfnDocumentClassifierEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDocumentClassifierEndpoint
@Stability(Stable) public CfnDocumentClassifierEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDocumentClassifierEndpointProps props) Create a newAWS::Comprehend::DocumentClassifierEndpoint.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForDocumentClassifierEndpoint
@Stability(Stable) @NotNull public static String arnForDocumentClassifierEndpoint(@NotNull IDocumentClassifierEndpointRef resource) - Parameters:
resource- This parameter is required.
-
isCfnDocumentClassifierEndpoint
@Stability(Stable) @NotNull public static Boolean isCfnDocumentClassifierEndpoint(@NotNull Object x) Checks whether the given object is a CfnDocumentClassifierEndpoint.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the document classifier endpoint. -
getAttrCreationTime
The creation date and time of the endpoint. -
getAttrCurrentInferenceUnits
The number of inference units currently used by the model using this endpoint. -
getAttrLastModifiedTime
The date and time that the endpoint was last modified. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getDocumentClassifierEndpointRef
@Stability(Stable) @NotNull public DocumentClassifierEndpointReference getDocumentClassifierEndpointRef()A reference to a DocumentClassifierEndpoint resource.- Specified by:
getDocumentClassifierEndpointRefin interfaceIDocumentClassifierEndpointRef
-
getDesiredInferenceUnits
The desired number of inference units to be used by the model. -
setDesiredInferenceUnits
The desired number of inference units to be used by the model. -
getEndpointName
The name of the endpoint. -
setEndpointName
The name of the endpoint. -
getModelArn
The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached. -
setModelArn
The Amazon Resource Name (ARN) of the document classifier model to which the endpoint is attached. -
getTags
Tags associated with the endpoint being created. -
setTags
Tags associated with the endpoint being created.
-