{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/VirtualMfaDeviceName",
  "/properties/Path"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$",
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/SerialNumber"
 ],
 "properties": {
  "Path": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "(\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F)",
   "type": "string"
  },
  "SerialNumber": {
   "maxLength": 256,
   "minLength": 9,
   "pattern": "[\\w+=/:,.@-]+",
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  },
  "Users": {
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "VirtualMfaDeviceName": {
   "maxLength": 226,
   "minLength": 1,
   "pattern": "[\\w+=,.@-]+",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/SerialNumber"
 ],
 "required": [
  "Users"
 ],
 "typeName": "AWS::IAM::VirtualMFADevice"
}
