{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/InstanceArn",
  "/properties/Name"
 ],
 "definitions": {
  "Purpose": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "StringList": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Value"
   },
   "maxItems": 500,
   "minItems": 1,
   "type": "array"
  },
  "Value": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/InstanceArn",
  "/properties/Name"
 ],
 "properties": {
  "AttributeConfiguration": {
   "additionalProperties": false,
   "properties": {
    "EnableValueValidationOnAssociation": {
     "type": "boolean"
    },
    "IsReadOnly": {
     "type": "boolean"
    }
   },
   "type": "object"
  },
  "InstanceArn": {
   "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$",
   "type": "string"
  },
  "LastModifiedRegion": {
   "pattern": "[a-z]{2}(-[a-z]+){1,2}(-[0-9])?",
   "type": "string"
  },
  "LastModifiedTime": {
   "type": "number"
  },
  "Name": {
   "maxLength": 100,
   "minLength": 1,
   "type": "string"
  },
  "Purposes": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Purpose"
   },
   "maxItems": 10,
   "minItems": 1,
   "type": "array"
  },
  "Values": {
   "additionalProperties": false,
   "properties": {
    "StringList": {
     "$ref": "#/definitions/StringList"
    }
   },
   "type": "object"
  }
 },
 "readOnlyProperties": [
  "/properties/LastModifiedRegion",
  "/properties/LastModifiedTime"
 ],
 "required": [
  "InstanceArn",
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Connect::PredefinedAttribute"
}
