{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/JobFlowId",
  "/properties/HadoopJarStep",
  "/properties/Name",
  "/properties/ActionOnFailure"
 ],
 "definitions": {
  "HadoopJarStepConfig": {
   "additionalProperties": false,
   "properties": {
    "Args": {
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": false
    },
    "Jar": {
     "type": "string"
    },
    "MainClass": {
     "type": "string"
    },
    "StepProperties": {
     "items": {
      "$ref": "#/definitions/KeyValue"
     },
     "type": "array",
     "uniqueItems": true
    }
   },
   "required": [
    "Jar"
   ],
   "type": "object"
  },
  "KeyValue": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "ActionOnFailure": {
   "type": "string"
  },
  "HadoopJarStep": {
   "$ref": "#/definitions/HadoopJarStepConfig"
  },
  "Id": {
   "type": "string"
  },
  "JobFlowId": {
   "maxLength": 256,
   "type": "string"
  },
  "Name": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "JobFlowId",
  "HadoopJarStep",
  "ActionOnFailure",
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::EMR::Step"
}
