{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/PipelineName"
 ],
 "definitions": {
  "S3Location": {
   "additionalProperties": false,
   "properties": {
    "Bucket": {
     "type": "string"
    },
    "ETag": {
     "type": "string"
    },
    "Key": {
     "type": "string"
    },
    "Version": {
     "type": "string"
    }
   },
   "required": [
    "Bucket",
    "Key"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/PipelineName"
 ],
 "properties": {
  "ParallelismConfiguration": {
   "additionalProperties": false,
   "properties": {
    "MaxParallelExecutionSteps": {
     "minimum": 1,
     "type": "integer"
    }
   },
   "required": [
    "MaxParallelExecutionSteps"
   ],
   "type": "object"
  },
  "PipelineDefinition": {
   "maxLength": 1048576,
   "minLength": 1,
   "oneOf": [
    {
     "additionalProperties": false,
     "properties": {
      "PipelineDefinitionBody": {
       "type": "string"
      }
     },
     "required": [
      "PipelineDefinitionBody"
     ]
    },
    {
     "additionalProperties": false,
     "properties": {
      "PipelineDefinitionS3Location": {
       "$ref": "#/definitions/S3Location"
      }
     },
     "required": [
      "PipelineDefinitionS3Location"
     ]
    }
   ],
   "pattern": "(?:[ \\r\\n\\t].*)*$",
   "type": "object"
  },
  "PipelineDescription": {
   "maxLength": 3072,
   "minLength": 0,
   "type": "string"
  },
  "PipelineDisplayName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*",
   "type": "string"
  },
  "PipelineName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*",
   "type": "string"
  },
  "RoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$",
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  }
 },
 "required": [
  "PipelineName",
  "PipelineDefinition",
  "RoleArn"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::SageMaker::Pipeline"
}
