{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "ConnectionsList": {
   "additionalProperties": false,
   "properties": {
    "Connections": {
     "items": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string"
     },
     "maxItems": 1000,
     "minItems": 0,
     "type": "array",
     "uniqueItems": false
    }
   },
   "type": "object"
  },
  "DefaultArguments": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "ExecutionProperty": {
   "additionalProperties": false,
   "properties": {
    "MaxConcurrentRuns": {
     "type": "number"
    }
   },
   "type": "object"
  },
  "JobCommand": {
   "additionalProperties": false,
   "properties": {
    "Name": {
     "type": "string"
    },
    "PythonVersion": {
     "pattern": "^([2-3]|3[.]9)$",
     "type": "string"
    },
    "Runtime": {
     "maxLength": 64,
     "minLength": 0,
     "type": "string"
    },
    "ScriptLocation": {
     "maxLength": 400000,
     "minLength": 0,
     "type": "string"
    }
   },
   "type": "object"
  },
  "NonOverridableArguments": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "NotificationProperty": {
   "additionalProperties": false,
   "properties": {
    "NotifyDelayAfter": {
     "minimum": 1,
     "type": "integer"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Name"
 ],
 "properties": {
  "AllocatedCapacity": {
   "type": "number"
  },
  "Command": {
   "$ref": "#/definitions/JobCommand"
  },
  "Connections": {
   "$ref": "#/definitions/ConnectionsList"
  },
  "DefaultArguments": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "Description": {
   "maxLength": 2048,
   "minLength": 0,
   "type": "string"
  },
  "ExecutionClass": {
   "enum": [
    "FLEX",
    "STANDARD"
   ],
   "type": "string"
  },
  "ExecutionProperty": {
   "$ref": "#/definitions/ExecutionProperty"
  },
  "GlueVersion": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^(\\w+\\.)+\\w+$",
   "type": "string"
  },
  "JobMode": {
   "enum": [
    "NOTEBOOK",
    "SCRIPT",
    "VISUAL"
   ],
   "type": "string"
  },
  "JobRunQueuingEnabled": {
   "type": "boolean"
  },
  "LogUri": {
   "type": "string"
  },
  "MaintenanceWindow": {
   "pattern": "^(Sun|Mon|Tue|Wed|Thu|Fri|Sat):([01]?[0-9]|2[0-3])$",
   "type": "string"
  },
  "MaxCapacity": {
   "type": "number"
  },
  "MaxRetries": {
   "type": "number"
  },
  "Name": {
   "maxLength": 255,
   "minLength": 1,
   "type": "string"
  },
  "NonOverridableArguments": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "NotificationProperty": {
   "$ref": "#/definitions/NotificationProperty"
  },
  "NumberOfWorkers": {
   "minimum": 0,
   "type": "integer"
  },
  "Role": {
   "type": "string"
  },
  "SecurityConfiguration": {
   "maxLength": 255,
   "minLength": 1,
   "type": "string"
  },
  "Tags": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "Timeout": {
   "minimum": 1,
   "type": "integer"
  },
  "WorkerType": {
   "enum": [
    "Standard",
    "G.1X",
    "G.2X",
    "G.025X",
    "G.4X",
    "G.8X",
    "Z.2X",
    "G.12X",
    "G.16X",
    "R.1X",
    "R.2X",
    "R.4X",
    "R.8X"
   ],
   "type": "string"
  }
 },
 "required": [
  "Role",
  "Command"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-glue.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Glue::Job"
}
