{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/StudioLifecycleConfigAppType",
  "/properties/StudioLifecycleConfigContent",
  "/properties/StudioLifecycleConfigName",
  "/properties/Tags"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    },
    "Value": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/StudioLifecycleConfigName"
 ],
 "properties": {
  "StudioLifecycleConfigAppType": {
   "enum": [
    "JupyterServer",
    "KernelGateway",
    "CodeEditor",
    "JupyterLab"
   ],
   "type": "string"
  },
  "StudioLifecycleConfigArn": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*",
   "type": "string"
  },
  "StudioLifecycleConfigContent": {
   "maxLength": 16384,
   "minLength": 1,
   "pattern": "[\\S\\s]+",
   "type": "string"
  },
  "StudioLifecycleConfigName": {
   "maxLength": 63,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  }
 },
 "propertyTransform": {
  "/properties/StudioLifecycleConfigName": "$lowercase(StudioLifecycleConfigName) $OR StudioLifecycleConfigName"
 },
 "readOnlyProperties": [
  "/properties/StudioLifecycleConfigArn"
 ],
 "required": [
  "StudioLifecycleConfigAppType",
  "StudioLifecycleConfigContent",
  "StudioLifecycleConfigName"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": false,
  "taggable": true
 },
 "typeName": "AWS::SageMaker::StudioLifecycleConfig"
}
