CfnMLTransformProps

class aws_cdk.aws_glue.CfnMLTransformProps(*, description=None, glue_version=None, input_record_tables, max_capacity=None, max_retries=None, name=None, number_of_workers=None, role, tags=None, timeout=None, transform_encryption=None, transform_parameters, worker_type=None)

Bases: object

Properties for defining a AWS::Glue::MLTransform.

Parameters
  • description (Optional[str]) – AWS::Glue::MLTransform.Description.

  • glue_version (Optional[str]) – AWS::Glue::MLTransform.GlueVersion.

  • input_record_tables (Union[IResolvable, InputRecordTablesProperty]) – AWS::Glue::MLTransform.InputRecordTables.

  • max_capacity (Union[int, float, None]) – AWS::Glue::MLTransform.MaxCapacity.

  • max_retries (Union[int, float, None]) – AWS::Glue::MLTransform.MaxRetries.

  • name (Optional[str]) – AWS::Glue::MLTransform.Name.

  • number_of_workers (Union[int, float, None]) – AWS::Glue::MLTransform.NumberOfWorkers.

  • role (str) – AWS::Glue::MLTransform.Role.

  • tags (Optional[Any]) – AWS::Glue::MLTransform.Tags.

  • timeout (Union[int, float, None]) – AWS::Glue::MLTransform.Timeout.

  • transform_encryption (Union[IResolvable, TransformEncryptionProperty, None]) – AWS::Glue::MLTransform.TransformEncryption.

  • transform_parameters (Union[IResolvable, TransformParametersProperty]) – AWS::Glue::MLTransform.TransformParameters.

  • worker_type (Optional[str]) – AWS::Glue::MLTransform.WorkerType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue

# tags is of type object

cfn_mLTransform_props = glue.CfnMLTransformProps(
    input_record_tables=glue.CfnMLTransform.InputRecordTablesProperty(
        glue_tables=[glue.CfnMLTransform.GlueTablesProperty(
            database_name="databaseName",
            table_name="tableName",

            # the properties below are optional
            catalog_id="catalogId",
            connection_name="connectionName"
        )]
    ),
    role="role",
    transform_parameters=glue.CfnMLTransform.TransformParametersProperty(
        transform_type="transformType",

        # the properties below are optional
        find_matches_parameters=glue.CfnMLTransform.FindMatchesParametersProperty(
            primary_key_column_name="primaryKeyColumnName",

            # the properties below are optional
            accuracy_cost_tradeoff=123,
            enforce_provided_labels=False,
            precision_recall_tradeoff=123
        )
    ),

    # the properties below are optional
    description="description",
    glue_version="glueVersion",
    max_capacity=123,
    max_retries=123,
    name="name",
    number_of_workers=123,
    tags=tags,
    timeout=123,
    transform_encryption=glue.CfnMLTransform.TransformEncryptionProperty(
        ml_user_data_encryption=glue.CfnMLTransform.MLUserDataEncryptionProperty(
            ml_user_data_encryption_mode="mlUserDataEncryptionMode",

            # the properties below are optional
            kms_key_id="kmsKeyId"
        ),
        task_run_security_configuration_name="taskRunSecurityConfigurationName"
    ),
    worker_type="workerType"
)

Attributes

description

AWS::Glue::MLTransform.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-description

Return type

Optional[str]

glue_version

AWS::Glue::MLTransform.GlueVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-glueversion

Return type

Optional[str]

input_record_tables

AWS::Glue::MLTransform.InputRecordTables.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-inputrecordtables

Return type

Union[IResolvable, InputRecordTablesProperty]

max_capacity

AWS::Glue::MLTransform.MaxCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-maxcapacity

Return type

Union[int, float, None]

max_retries

AWS::Glue::MLTransform.MaxRetries.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-maxretries

Return type

Union[int, float, None]

name

AWS::Glue::MLTransform.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-name

Return type

Optional[str]

number_of_workers

AWS::Glue::MLTransform.NumberOfWorkers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-numberofworkers

Return type

Union[int, float, None]

role

AWS::Glue::MLTransform.Role.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-role

Return type

str

tags

AWS::Glue::MLTransform.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-tags

Return type

Any

timeout

AWS::Glue::MLTransform.Timeout.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-timeout

Return type

Union[int, float, None]

transform_encryption

AWS::Glue::MLTransform.TransformEncryption.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-transformencryption

Return type

Union[IResolvable, TransformEncryptionProperty, None]

transform_parameters

AWS::Glue::MLTransform.TransformParameters.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-transformparameters

Return type

Union[IResolvable, TransformParametersProperty]

worker_type

AWS::Glue::MLTransform.WorkerType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-workertype

Return type

Optional[str]