{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-appimageconfig.json",
  "title": "AWSSageMakerAppImageConfigProperties",
  "description": "Resource Type definition for AWS::SageMaker::AppImageConfig. 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-appimageconfig.json",
    "sourceSha256": "ea47ce66df2737a1e34f59d82b215830247ada934af4d1a142ff0de29c59a0e6"
  },
  "type": "object",
  "properties": {
    "AppImageConfigName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 63,
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Name of the AppImageConfig."
    },
    "KernelGatewayImageConfig": {
      "$ref": "#/$defs/KernelGatewayImageConfig",
      "description": "The KernelGatewayImageConfig."
    },
    "Tags": {
      "type": "array",
      "description": "A list of tags to apply to the AppImageConfig.",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "minItems": 0,
      "maxItems": 50
    }
  },
  "typeName": "AWS::SageMaker::AppImageConfig",
  "primaryIdentifier": [
    "/properties/AppImageConfigName"
  ],
  "$defs": {
    "KernelGatewayImageConfig": {
      "type": "object",
      "description": "The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.",
      "title": "AWSSageMakerAppImageConfigKernelGatewayImageConfigDefinition",
      "properties": {
        "FileSystemConfig": {
          "$ref": "#/$defs/FileSystemConfig",
          "description": "The Amazon Elastic File System (EFS) storage configuration for a SageMaker image."
        },
        "KernelSpecs": {
          "type": "array",
          "description": "The specification of the Jupyter kernels in the image.",
          "minItems": 1,
          "maxItems": 1,
          "items": {
            "$ref": "#/$defs/KernelSpec"
          }
        }
      },
      "required": [
        "KernelSpecs"
      ],
      "additionalProperties": false
    },
    "FileSystemConfig": {
      "type": "object",
      "description": "The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.",
      "title": "AWSSageMakerAppImageConfigFileSystemConfigDefinition",
      "properties": {
        "DefaultGid": {
          "type": "integer",
          "description": "The default POSIX group ID (GID). If not specified, defaults to 100.",
          "minimum": 0,
          "maximum": 65535
        },
        "DefaultUid": {
          "type": "integer",
          "description": "The default POSIX user ID (UID). If not specified, defaults to 1000.",
          "minimum": 0,
          "maximum": 65535
        },
        "MountPath": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024,
              "pattern": "^/.*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user."
        }
      },
      "additionalProperties": false
    },
    "KernelSpec": {
      "type": "object",
      "title": "AWSSageMakerAppImageConfigKernelSpecDefinition",
      "properties": {
        "DisplayName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The display name of the kernel."
        },
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the kernel."
        }
      },
      "required": [
        "Name"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSSageMakerAppImageConfigTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/AppImageConfigArn"
  ],
  "additionalProperties": false,
  "required": [
    "AppImageConfigName"
  ],
  "createOnlyProperties": [
    "/properties/AppImageConfigName",
    "/properties/Tags"
  ],
  "writeOnlyProperties": [
    "/properties/Tags"
  ]
}
