{
 "additionalProperties": false,
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ViewArn"
 ],
 "properties": {
  "Actions": {
   "insertionOrder": false,
   "items": {
    "maxLength": 255,
    "minLength": 1,
    "pattern": "^([\\p{L}\\p{N}_.:\\/=+\\-@]+[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*)$",
    "type": "string"
   },
   "maxItems": 1000,
   "type": "array"
  },
  "Description": {
   "maxLength": 4096,
   "minLength": 0,
   "pattern": "^([\\p{L}\\p{N}_.:\\/=+\\-@,]+[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@,]*)$",
   "type": "string"
  },
  "InstanceArn": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$",
   "type": "string"
  },
  "Name": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "^([\\p{L}\\p{N}_.:\\/=+\\-@]+[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]*)$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": true
  },
  "Template": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "ViewArn": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/view/[-:$a-zA-Z0-9]*$",
   "type": "string"
  },
  "ViewContentSha256": {
   "pattern": "^[a-zA-Z0-9]{64}$",
   "type": "string"
  },
  "ViewId": {
   "maxLength": 500,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9\\_\\-:\\/$]+$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/ViewArn",
  "/properties/ViewId",
  "/properties/ViewContentSha256"
 ],
 "required": [
  "InstanceArn",
  "Template",
  "Actions",
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Connect::View"
}
