Class CfnMLTransform
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.glue.CfnMLTransform
- All Implemented Interfaces:
IInspectable,ITaggable,IMLTransformRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:11.775Z")
@Stability(Stable)
public class CfnMLTransform
extends CfnResource
implements IInspectable, IMLTransformRef, ITaggable
The AWS::Glue::MLTransform is an AWS Glue resource type that manages machine learning transforms.
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.glue.*;
Object tags;
CfnMLTransform cfnMLTransform = CfnMLTransform.Builder.create(this, "MyCfnMLTransform")
.inputRecordTables(InputRecordTablesProperty.builder()
.glueTables(List.of(GlueTablesProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
// the properties below are optional
.catalogId("catalogId")
.connectionName("connectionName")
.build()))
.build())
.role("role")
.transformParameters(TransformParametersProperty.builder()
.transformType("transformType")
// the properties below are optional
.findMatchesParameters(FindMatchesParametersProperty.builder()
.primaryKeyColumnName("primaryKeyColumnName")
// the properties below are optional
.accuracyCostTradeoff(123)
.enforceProvidedLabels(false)
.precisionRecallTradeoff(123)
.build())
.build())
// the properties below are optional
.description("description")
.glueVersion("glueVersion")
.maxCapacity(123)
.maxRetries(123)
.name("name")
.numberOfWorkers(123)
.tags(tags)
.timeout(123)
.transformEncryption(TransformEncryptionProperty.builder()
.mlUserDataEncryption(MLUserDataEncryptionProperty.builder()
.mlUserDataEncryptionMode("mlUserDataEncryptionMode")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.taskRunSecurityConfigurationName("taskRunSecurityConfigurationName")
.build())
.workerType("workerType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnMLTransform.static interfaceThe parameters to configure the find matches transform.static interfaceThe database and table in the AWS Glue Data Catalog that is used for input or output data.static interfaceA list of AWS Glue table definitions used by the transform.static interfaceThe encryption-at-rest settings of the transform that apply to accessing user data.static interfaceThe encryption-at-rest settings of the transform that apply to accessing user data.static interfaceThe algorithm-specific parameters that are associated with the machine learning transform.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.IMLTransformRef
IMLTransformRef.Jsii$Default, IMLTransformRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnMLTransform(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMLTransform(software.amazon.jsii.JsiiObjectRef objRef) CfnMLTransform(software.constructs.Construct scope, String id, CfnMLTransformProps props) -
Method Summary
Modifier and TypeMethodDescriptionA user-defined, long-form description text for the machine learning transform.This value determines which version of AWS Glue this machine learning transform is compatible with.A list of AWS Glue table definitions used by the transform.The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform.The maximum number of times to retry after anMLTaskRunof the machine learning transform fails.A reference to a MLTransform resource.getName()A user-defined name for the machine learning transform.The number of workers of a definedworkerTypethat are allocated when a task of the transform runs.getRole()The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.getTags()Tag Manager which manages the tags for this resource.The tags to use with this machine learning transform.The timeout in minutes of the machine learning transform.The encryption-at-rest settings of the transform that apply to accessing user data.The algorithm-specific parameters that are associated with the machine learning transform.The type of predefined worker that is allocated when a task of this transform runs.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) A user-defined, long-form description text for the machine learning transform.voidsetGlueVersion(String value) This value determines which version of AWS Glue this machine learning transform is compatible with.voidsetInputRecordTables(IResolvable value) A list of AWS Glue table definitions used by the transform.voidA list of AWS Glue table definitions used by the transform.voidsetMaxCapacity(Number value) The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform.voidsetMaxRetries(Number value) The maximum number of times to retry after anMLTaskRunof the machine learning transform fails.voidA user-defined name for the machine learning transform.voidsetNumberOfWorkers(Number value) The number of workers of a definedworkerTypethat are allocated when a task of the transform runs.voidThe name or Amazon Resource Name (ARN) of the IAM role with the required permissions.voidsetTagsRaw(Object value) The tags to use with this machine learning transform.voidsetTimeout(Number value) The timeout in minutes of the machine learning transform.voidThe encryption-at-rest settings of the transform that apply to accessing user data.voidThe encryption-at-rest settings of the transform that apply to accessing user data.voidThe algorithm-specific parameters that are associated with the machine learning transform.voidThe algorithm-specific parameters that are associated with the machine learning transform.voidsetWorkerType(String value) The type of predefined worker that is allocated when a task of this transform runs.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnMLTransform
protected CfnMLTransform(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMLTransform
protected CfnMLTransform(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMLTransform
@Stability(Stable) public CfnMLTransform(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMLTransformProps props) - 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
-
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.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getMlTransformRef
A reference to a MLTransform resource.- Specified by:
getMlTransformRefin interfaceIMLTransformRef
-
getTags
Tag Manager which manages the tags for this resource. -
getInputRecordTables
A list of AWS Glue table definitions used by the transform. -
setInputRecordTables
A list of AWS Glue table definitions used by the transform. -
setInputRecordTables
@Stability(Stable) public void setInputRecordTables(@NotNull CfnMLTransform.InputRecordTablesProperty value) A list of AWS Glue table definitions used by the transform. -
getRole
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. -
setRole
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions. -
getTransformParameters
The algorithm-specific parameters that are associated with the machine learning transform. -
setTransformParameters
The algorithm-specific parameters that are associated with the machine learning transform. -
setTransformParameters
@Stability(Stable) public void setTransformParameters(@NotNull CfnMLTransform.TransformParametersProperty value) The algorithm-specific parameters that are associated with the machine learning transform. -
getDescription
A user-defined, long-form description text for the machine learning transform. -
setDescription
A user-defined, long-form description text for the machine learning transform. -
getGlueVersion
This value determines which version of AWS Glue this machine learning transform is compatible with. -
setGlueVersion
This value determines which version of AWS Glue this machine learning transform is compatible with. -
getMaxCapacity
The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. -
setMaxCapacity
The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. -
getMaxRetries
The maximum number of times to retry after anMLTaskRunof the machine learning transform fails. -
setMaxRetries
The maximum number of times to retry after anMLTaskRunof the machine learning transform fails. -
getName
A user-defined name for the machine learning transform.Names are required to be unique.
Nameis optional:. -
setName
A user-defined name for the machine learning transform.Names are required to be unique.
Nameis optional:. -
getNumberOfWorkers
The number of workers of a definedworkerTypethat are allocated when a task of the transform runs. -
setNumberOfWorkers
The number of workers of a definedworkerTypethat are allocated when a task of the transform runs. -
getTagsRaw
The tags to use with this machine learning transform. -
setTagsRaw
The tags to use with this machine learning transform. -
getTimeout
The timeout in minutes of the machine learning transform. -
setTimeout
The timeout in minutes of the machine learning transform. -
getTransformEncryption
The encryption-at-rest settings of the transform that apply to accessing user data. -
setTransformEncryption
The encryption-at-rest settings of the transform that apply to accessing user data. -
setTransformEncryption
@Stability(Stable) public void setTransformEncryption(@Nullable CfnMLTransform.TransformEncryptionProperty value) The encryption-at-rest settings of the transform that apply to accessing user data. -
getWorkerType
The type of predefined worker that is allocated when a task of this transform runs. -
setWorkerType
The type of predefined worker that is allocated when a task of this transform runs.
-