{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/InputRecordTables"
 ],
 "definitions": {
  "FindMatchesParameters": {
   "additionalProperties": false,
   "properties": {
    "AccuracyCostTradeoff": {
     "type": "number"
    },
    "EnforceProvidedLabels": {
     "type": "boolean"
    },
    "PrecisionRecallTradeoff": {
     "type": "number"
    },
    "PrimaryKeyColumnName": {
     "type": "string"
    }
   },
   "required": [
    "PrimaryKeyColumnName"
   ],
   "type": "object"
  },
  "GlueTables": {
   "additionalProperties": false,
   "properties": {
    "CatalogId": {
     "type": "string"
    },
    "ConnectionName": {
     "type": "string"
    },
    "DatabaseName": {
     "type": "string"
    },
    "TableName": {
     "type": "string"
    }
   },
   "required": [
    "TableName",
    "DatabaseName"
   ],
   "type": "object"
  },
  "InputRecordTables": {
   "additionalProperties": false,
   "properties": {
    "GlueTables": {
     "items": {
      "$ref": "#/definitions/GlueTables"
     },
     "type": "array",
     "uniqueItems": false
    }
   },
   "type": "object"
  },
  "MLUserDataEncryption": {
   "additionalProperties": false,
   "properties": {
    "KmsKeyId": {
     "anyOf": [
      {
       "format": "AWS::KMS::Key.Arn"
      },
      {
       "format": "AWS::KMS::Key.Id"
      },
      {
       "format": "AWS::KMS::Alias.AliasName"
      }
     ],
     "type": "string"
    },
    "MLUserDataEncryptionMode": {
     "type": "string"
    }
   },
   "required": [
    "MLUserDataEncryptionMode"
   ],
   "type": "object"
  },
  "TransformEncryption": {
   "additionalProperties": false,
   "properties": {
    "MLUserDataEncryption": {
     "$ref": "#/definitions/MLUserDataEncryption"
    },
    "TaskRunSecurityConfigurationName": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "TransformParameters": {
   "additionalProperties": false,
   "properties": {
    "FindMatchesParameters": {
     "$ref": "#/definitions/FindMatchesParameters"
    },
    "TransformType": {
     "type": "string"
    }
   },
   "required": [
    "TransformType"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Description": {
   "type": "string"
  },
  "GlueVersion": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "InputRecordTables": {
   "$ref": "#/definitions/InputRecordTables"
  },
  "MaxCapacity": {
   "maximum": 100,
   "minimum": 1,
   "type": "number"
  },
  "MaxRetries": {
   "type": "integer"
  },
  "Name": {
   "type": "string"
  },
  "NumberOfWorkers": {
   "type": "integer"
  },
  "Role": {
   "type": "string"
  },
  "Tags": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "Timeout": {
   "type": "integer"
  },
  "TransformEncryption": {
   "$ref": "#/definitions/TransformEncryption"
  },
  "TransformParameters": {
   "$ref": "#/definitions/TransformParameters"
  },
  "WorkerType": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "Role",
  "TransformParameters",
  "InputRecordTables"
 ],
 "typeName": "AWS::Glue::MLTransform"
}
