{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-pipeline.json",
  "title": "AWSSageMakerPipelineProperties",
  "description": "Resource Type definition for AWS::SageMaker::Pipeline. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-sagemaker-pipeline.json",
    "sourceSha256": "bc7dfbfbb8f853b7388d43c1f38f285ca4813f6acdf19c3b56ba16e55d904c80"
  },
  "type": "object",
  "properties": {
    "PipelineName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the Pipeline."
    },
    "PipelineDisplayName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The display name of the Pipeline."
    },
    "PipelineDescription": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 3072
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the Pipeline."
    },
    "PipelineDefinition": {
      "type": "object",
      "oneOf": [
        {
          "required": [
            "PipelineDefinitionBody"
          ],
          "properties": {
            "PipelineDefinitionBody": {
              "type": "string",
              "description": "A specification that defines the pipeline in JSON format."
            }
          },
          "additionalProperties": false,
          "type": "object"
        },
        {
          "required": [
            "PipelineDefinitionS3Location"
          ],
          "properties": {
            "PipelineDefinitionS3Location": {
              "$ref": "#/$defs/S3Location"
            }
          },
          "additionalProperties": false,
          "type": "object"
        }
      ]
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 20,
          "maxLength": 2048,
          "pattern": "^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Role Arn"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "ParallelismConfiguration": {
      "type": "object",
      "required": [
        "MaxParallelExecutionSteps"
      ],
      "properties": {
        "MaxParallelExecutionSteps": {
          "description": "Maximum parallel execution steps",
          "type": "integer",
          "minimum": 1
        }
      },
      "additionalProperties": false
    }
  },
  "typeName": "AWS::SageMaker::Pipeline",
  "primaryIdentifier": [
    "/properties/PipelineName"
  ],
  "$defs": {
    "S3Location": {
      "type": "object",
      "title": "AWSSageMakerPipelineS3LocationDefinition",
      "properties": {
        "Bucket": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the S3 bucket where the PipelineDefinition file is stored."
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The file name of the PipelineDefinition file (Amazon S3 object name)."
        },
        "Version": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "For versioning-enabled buckets, a specific version of the PipelineDefinition file."
        },
        "ETag": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file."
        }
      },
      "required": [
        "Bucket",
        "Key"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSSageMakerPipelineTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/PipelineName"
  ],
  "additionalProperties": false,
  "required": [
    "PipelineName",
    "PipelineDefinition",
    "RoleArn"
  ]
}
