{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/UserName"
 ],
 "definitions": {
  "LoginProfile": {
   "additionalProperties": false,
   "properties": {
    "Password": {
     "type": "string"
    },
    "PasswordResetRequired": {
     "type": "boolean"
    }
   },
   "required": [
    "Password"
   ],
   "type": "object"
  },
  "Policy": {
   "additionalProperties": false,
   "properties": {
    "PolicyDocument": {
     "type": [
      "object",
      "string"
     ]
    },
    "PolicyName": {
     "type": "string"
    }
   },
   "required": [
    "PolicyName",
    "PolicyDocument"
   ],
   "type": "object"
  },
  "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/UserName"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "Groups": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "maxItems": 10,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  },
  "LoginProfile": {
   "$ref": "#/definitions/LoginProfile"
  },
  "ManagedPolicyArns": {
   "insertionOrder": false,
   "items": {
    "pattern": "arn:(aws[a-zA-Z-]*)?:iam::(\\d{12}|aws):policy/[a-zA-Z_0-9+=,.@\\-_/]+",
    "type": "string"
   },
   "maxItems": 20,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  },
  "Path": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "^(\\u002F)|(\\u002F[\\u0021-\\u007E]+\\u002F)$",
   "type": "string"
  },
  "PermissionsBoundary": {
   "maxLength": 2048,
   "minLength": 20,
   "type": "string"
  },
  "Policies": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Policy"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  },
  "UserName": {
   "maxLength": 64,
   "minLength": 1,
   "pattern": "^[\\w+=,.@-]+$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-iam.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::IAM::User",
 "writeOnlyProperties": [
  "/properties/LoginProfile/Password"
 ]
}
