{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/IdentityCenterInstanceArn",
  "/properties/IdentityCenterRegion"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 127,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 255,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "pattern": "^arn:(aws[a-zA-Z-]*):deadline:[a-z0-9-]+:[0-9]+:monitor/monitor-[0-9a-z]{32}$",
   "type": "string"
  },
  "DisplayName": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "IdentityCenterApplicationArn": {
   "type": "string"
  },
  "IdentityCenterInstanceArn": {
   "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$",
   "type": "string"
  },
  "IdentityCenterRegion": {
   "maxLength": 25,
   "minLength": 1,
   "pattern": "^[a-z0-9-]+$",
   "type": "string"
  },
  "MonitorId": {
   "pattern": "^monitor-[0-9a-f]{32}$",
   "type": "string"
  },
  "RoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "pattern": "^arn:(aws[a-zA-Z-]*):iam::\\d{12}:role(/[!-.0-~]+)*/[\\w+=,.@-]+$",
   "type": "string"
  },
  "Subdomain": {
   "pattern": "^[a-z0-9-]{1,100}$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": true
  },
  "Url": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/IdentityCenterApplicationArn",
  "/properties/MonitorId",
  "/properties/Url",
  "/properties/Arn"
 ],
 "required": [
  "DisplayName",
  "IdentityCenterInstanceArn",
  "RoleArn",
  "Subdomain"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Deadline::Monitor"
}
