{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ModelPackageGroupName",
  "/properties/ModelPackageGroupDescription"
 ],
 "definitions": {
  "ModelPackageGroupArn": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "arn:.*",
   "type": "string"
  },
  "ModelPackageGroupDescription": {
   "maxLength": 1024,
   "minLength": 0,
   "pattern": "[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]*",
   "type": "string"
  },
  "ModelPackageGroupName": {
   "maxLength": 63,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
   "type": "string"
  },
  "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": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ModelPackageGroupArn"
 ],
 "properties": {
  "CreationTime": {
   "type": "string"
  },
  "ModelPackageGroupArn": {
   "$ref": "#/definitions/ModelPackageGroupArn"
  },
  "ModelPackageGroupDescription": {
   "$ref": "#/definitions/ModelPackageGroupDescription"
  },
  "ModelPackageGroupName": {
   "$ref": "#/definitions/ModelPackageGroupName"
  },
  "ModelPackageGroupPolicy": {
   "type": [
    "object",
    "string"
   ]
  },
  "ModelPackageGroupStatus": {
   "enum": [
    "Pending",
    "InProgress",
    "Completed",
    "Failed",
    "Deleting",
    "DeleteFailed"
   ],
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/ModelPackageGroupArn",
  "/properties/CreationTime",
  "/properties/ModelPackageGroupStatus"
 ],
 "required": [
  "ModelPackageGroupName"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::SageMaker::ModelPackageGroup"
}
