Class CfnAdapter
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.textract.CfnAdapter
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IAdapterRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:20.603Z")
@Stability(Stable)
public class CfnAdapter
extends CfnResource
implements IInspectable, IAdapterRef, ITaggableV2
The AWS::Textract::Adapter resource creates an Amazon Textract adapter, which can be fine-tuned for enhanced performance on user-provided documents.
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.textract.*;
CfnAdapter cfnAdapter = CfnAdapter.Builder.create(this, "MyCfnAdapter")
.adapterName("adapterName")
.featureTypes(List.of("featureTypes"))
// the properties below are optional
.autoUpdate("autoUpdate")
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.textract.IAdapterRef
IAdapterRef.Jsii$Default, IAdapterRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested 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
ConstructorsModifierConstructorDescriptionprotectedCfnAdapter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAdapter(software.amazon.jsii.JsiiObjectRef objRef) CfnAdapter(software.constructs.Construct scope, String id, CfnAdapterProps props) Create a newAWS::Textract::Adapter. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForAdapter(IAdapterRef resource) The name to be assigned to the adapter being created.A reference to a Adapter resource.A unique identifier for the adapter resource.The Amazon Resource Name (ARN) of the adapter.The date and time that the adapter was created.Controls whether or not the adapter should automatically update.Tag Manager which manages the tags for this resource.The description to be assigned to the adapter being created.The type of feature that the adapter is being trained on.getTags()A list of tags to be added to the adapter.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAdapter.renderProperties(Map<String, Object> props) voidsetAdapterName(String value) The name to be assigned to the adapter being created.voidsetAutoUpdate(String value) Controls whether or not the adapter should automatically update.voidsetDescription(String value) The description to be assigned to the adapter being created.voidsetFeatureTypes(List<String> value) The type of feature that the adapter is being trained on.voidA list of tags to be added to the adapter.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
-
CfnAdapter
protected CfnAdapter(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAdapter
protected CfnAdapter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAdapter
@Stability(Stable) public CfnAdapter(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAdapterProps props) Create a newAWS::Textract::Adapter.- 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
-
arnForAdapter
- Parameters:
resource- This parameter is required.
-
isCfnAdapter
Checks whether the given object is a CfnAdapter.- 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.
-
getAdapterRef
A reference to a Adapter resource.- Specified by:
getAdapterRefin interfaceIAdapterRef
-
getAttrAdapterId
A unique identifier for the adapter resource. -
getAttrArn
The Amazon Resource Name (ARN) of the adapter. -
getAttrCreationTime
The date and time that the adapter was created. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getAdapterName
The name to be assigned to the adapter being created. -
setAdapterName
The name to be assigned to the adapter being created. -
getFeatureTypes
The type of feature that the adapter is being trained on. -
setFeatureTypes
The type of feature that the adapter is being trained on. -
getAutoUpdate
Controls whether or not the adapter should automatically update. -
setAutoUpdate
Controls whether or not the adapter should automatically update. -
getDescription
The description to be assigned to the adapter being created. -
setDescription
The description to be assigned to the adapter being created. -
getTags
A list of tags to be added to the adapter. -
setTags
A list of tags to be added to the adapter.
-