Class CfnEntityRecognizerEndpoint
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.CfnEntityRecognizerEndpoint
- All Implemented Interfaces:
IInspectable,IEntityRecognizerEndpointRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:51.145Z")
@Stability(Stable)
public class CfnEntityRecognizerEndpoint
extends CfnResource
implements IInspectable, IEntityRecognizerEndpointRef, ITaggableV2
An Amazon Comprehend endpoint that hosts a custom entity recognizer 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.*;
CfnEntityRecognizerEndpoint cfnEntityRecognizerEndpoint = CfnEntityRecognizerEndpoint.Builder.create(this, "MyCfnEntityRecognizerEndpoint")
.desiredInferenceUnits(123)
.endpointName("endpointName")
// the properties below are optional
.dataAccessRoleArn("dataAccessRoleArn")
.flywheelArn("flywheelArn")
.modelArn("modelArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEntityRecognizerEndpoint.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.IEntityRecognizerEndpointRef
IEntityRecognizerEndpointRef.Jsii$Default, IEntityRecognizerEndpointRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnEntityRecognizerEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEntityRecognizerEndpoint(software.amazon.jsii.JsiiObjectRef objRef) CfnEntityRecognizerEndpoint(software.constructs.Construct scope, String id, CfnEntityRecognizerEndpointProps props) Create a newAWS::Comprehend::EntityRecognizerEndpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the entity recognizer endpoint.The creation date and time of the endpoint.The number of inference units currently used by the model using this endpoint.The current status of the endpoint.The date and time that the endpoint was last modified.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).The desired number of inference units to be used by the model.The name of the endpoint.A reference to a EntityRecognizerEndpoint resource.The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.The Amazon Resource Name (ARN) of the entity recognizer 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 CfnEntityRecognizerEndpoint.renderProperties(Map<String, Object> props) voidsetDataAccessRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).voidsetDesiredInferenceUnits(Number value) The desired number of inference units to be used by the model.voidsetEndpointName(String value) The name of the endpoint.voidsetFlywheelArn(String value) The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached.voidsetModelArn(String value) The Amazon Resource Name (ARN) of the entity recognizer 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
-
CfnEntityRecognizerEndpoint
protected CfnEntityRecognizerEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEntityRecognizerEndpoint
protected CfnEntityRecognizerEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEntityRecognizerEndpoint
@Stability(Stable) public CfnEntityRecognizerEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEntityRecognizerEndpointProps props) Create a newAWS::Comprehend::EntityRecognizerEndpoint.- 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
-
arnForEntityRecognizerEndpoint
@Stability(Stable) @NotNull public static String arnForEntityRecognizerEndpoint(@NotNull IEntityRecognizerEndpointRef resource) - Parameters:
resource- This parameter is required.
-
isCfnEntityRecognizerEndpoint
Checks whether the given object is a CfnEntityRecognizerEndpoint.- 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 entity recognizer endpoint. -
getAttrCreationTime
The creation date and time of the endpoint. -
getAttrCurrentInferenceUnits
The number of inference units currently used by the model using this endpoint. -
getAttrEndpointStatus
The current status of the endpoint.Because the endpoint updates and creation are asynchronous, wait for the endpoint to be IN_SERVICE before making inference requests.
-
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
-
getEntityRecognizerEndpointRef
@Stability(Stable) @NotNull public EntityRecognizerEndpointReference getEntityRecognizerEndpointRef()A reference to a EntityRecognizerEndpoint resource.- Specified by:
getEntityRecognizerEndpointRefin interfaceIEntityRecognizerEndpointRef
-
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. -
getDataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId). -
setDataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId). -
getFlywheelArn
The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached. -
setFlywheelArn
The Amazon Resource Name (ARN) of the flywheel to which the endpoint is attached. -
getModelArn
The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached. -
setModelArn
The Amazon Resource Name (ARN) of the entity recognizer model to which the endpoint is attached. -
getTags
Tags associated with the endpoint being created. -
setTags
Tags associated with the endpoint being created.
-