{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-endpoint.json",
  "title": "AWSSageMakerEndpointProperties",
  "description": "Resource Type definition for AWS::SageMaker::Endpoint. 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-endpoint.json",
    "sourceSha256": "dd8f9613cc60145c55edba060a0e05a4a0338b3def59a158f17fec09f6f9e51f"
  },
  "type": "object",
  "properties": {
    "RetainAllVariantProperties": {
      "type": "boolean"
    },
    "EndpointName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ExcludeRetainedVariantProperties": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/VariantProperty"
      }
    },
    "EndpointConfigName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DeploymentConfig": {
      "$ref": "#/$defs/DeploymentConfig"
    },
    "RetainDeploymentConfig": {
      "type": "boolean"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::SageMaker::Endpoint",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "CapacitySize": {
      "type": "object",
      "title": "AWSSageMakerEndpointCapacitySizeDefinition",
      "properties": {
        "Value": {
          "type": "integer"
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Type",
        "Value"
      ],
      "additionalProperties": false
    },
    "Alarm": {
      "type": "object",
      "title": "AWSSageMakerEndpointAlarmDefinition",
      "properties": {
        "AlarmName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "AlarmName"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSSageMakerEndpointTagDefinition",
      "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
    },
    "AutoRollbackConfig": {
      "type": "object",
      "title": "AWSSageMakerEndpointAutoRollbackConfigDefinition",
      "properties": {
        "Alarms": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/Alarm"
          }
        }
      },
      "required": [
        "Alarms"
      ],
      "additionalProperties": false
    },
    "DeploymentConfig": {
      "type": "object",
      "title": "AWSSageMakerEndpointDeploymentConfigDefinition",
      "properties": {
        "AutoRollbackConfiguration": {
          "$ref": "#/$defs/AutoRollbackConfig"
        },
        "BlueGreenUpdatePolicy": {
          "$ref": "#/$defs/BlueGreenUpdatePolicy"
        }
      },
      "required": [
        "BlueGreenUpdatePolicy"
      ],
      "additionalProperties": false
    },
    "BlueGreenUpdatePolicy": {
      "type": "object",
      "title": "AWSSageMakerEndpointBlueGreenUpdatePolicyDefinition",
      "properties": {
        "MaximumExecutionTimeoutInSeconds": {
          "type": "integer"
        },
        "TerminationWaitInSeconds": {
          "type": "integer"
        },
        "TrafficRoutingConfiguration": {
          "$ref": "#/$defs/TrafficRoutingConfig"
        }
      },
      "required": [
        "TrafficRoutingConfiguration"
      ],
      "additionalProperties": false
    },
    "TrafficRoutingConfig": {
      "type": "object",
      "title": "AWSSageMakerEndpointTrafficRoutingConfigDefinition",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "LinearStepSize": {
          "$ref": "#/$defs/CapacitySize"
        },
        "CanarySize": {
          "$ref": "#/$defs/CapacitySize"
        },
        "WaitIntervalInSeconds": {
          "type": "integer"
        }
      },
      "required": [
        "Type"
      ],
      "additionalProperties": false
    },
    "VariantProperty": {
      "type": "object",
      "title": "AWSSageMakerEndpointVariantPropertyDefinition",
      "properties": {
        "VariantPropertyType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "EndpointConfigName"
  ],
  "createOnlyProperties": [
    "/properties/EndpointName"
  ]
}
