{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/UserName"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 127,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 255,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  },
  "WorkspaceProperties": {
   "additionalProperties": false,
   "properties": {
    "ComputeTypeName": {
     "type": "string"
    },
    "RootVolumeSizeGib": {
     "type": "integer"
    },
    "RunningMode": {
     "type": "string"
    },
    "RunningModeAutoStopTimeoutInMinutes": {
     "type": "integer"
    },
    "UserVolumeSizeGib": {
     "type": "integer"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "BundleId": {
   "type": "string"
  },
  "DirectoryId": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "RootVolumeEncryptionEnabled": {
   "type": "boolean"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "UserName": {
   "type": "string"
  },
  "UserVolumeEncryptionEnabled": {
   "type": "boolean"
  },
  "VolumeEncryptionKey": {
   "type": "string"
  },
  "WorkspaceProperties": {
   "$ref": "#/definitions/WorkspaceProperties"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "BundleId",
  "DirectoryId",
  "UserName"
 ],
 "typeName": "AWS::WorkSpaces::Workspace"
}
