{
 "additionalIdentifiers": [
  [
   "/properties/InstanceArn",
   "/properties/DataTableArn",
   "/properties/Name"
  ]
 ],
 "additionalProperties": false,
 "conditionalCreateOnlyProperties": [
  "/properties/Name"
 ],
 "createOnlyProperties": [
  "/properties/InstanceArn",
  "/properties/DataTableArn"
 ],
 "definitions": {
  "AttributeId": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "Description": {
   "maxLength": 250,
   "minLength": 0,
   "pattern": "^[\\P{C}\r\n\t]+$",
   "type": "string"
  },
  "LengthBoundary": {
   "exclusiveMaximum": 1000,
   "maximum": 1000,
   "minimum": 0,
   "type": "integer"
  },
  "ValueBoundary": {
   "exclusiveMaximum": 100,
   "maximum": 100,
   "minimum": 0,
   "type": "integer"
  }
 },
 "primaryIdentifier": [
  "/properties/InstanceArn",
  "/properties/DataTableArn",
  "/properties/AttributeId"
 ],
 "properties": {
  "AttributeId": {
   "$ref": "#/definitions/AttributeId"
  },
  "DataTableArn": {
   "maxLength": 2048,
   "minLength": 1,
   "type": "string"
  },
  "Description": {
   "$ref": "#/definitions/Description"
  },
  "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"
  },
  "LastModifiedRegion": {
   "pattern": "[a-z]{2}(-[a-z]+){1,2}(-[0-9])?",
   "type": "string"
  },
  "LastModifiedTime": {
   "type": "number"
  },
  "LockVersion": {
   "additionalProperties": false,
   "properties": {
    "Attribute": {
     "type": "string"
    },
    "DataTable": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Name": {
   "maxLength": 128,
   "minLength": 1,
   "pattern": "^[\\p{L}\\p{Z}\\p{N}\\-_.:=@'|]+$",
   "type": "string"
  },
  "Primary": {
   "type": "boolean"
  },
  "Validation": {
   "additionalProperties": false,
   "properties": {
    "Enum": {
     "additionalProperties": false,
     "properties": {
      "Strict": {
       "type": "boolean"
      },
      "Values": {
       "insertionOrder": false,
       "items": {
        "type": "string"
       },
       "type": "array"
      }
     },
     "type": "object"
    },
    "ExclusiveMaximum": {
     "type": "number"
    },
    "ExclusiveMinimum": {
     "type": "number"
    },
    "MaxLength": {
     "$ref": "#/definitions/LengthBoundary"
    },
    "MaxValues": {
     "$ref": "#/definitions/ValueBoundary"
    },
    "Maximum": {
     "type": "number"
    },
    "MinLength": {
     "$ref": "#/definitions/LengthBoundary"
    },
    "MinValues": {
     "$ref": "#/definitions/ValueBoundary"
    },
    "Minimum": {
     "type": "number"
    },
    "MultipleOf": {
     "minimum": 0,
     "type": "number"
    }
   },
   "type": "object"
  },
  "ValueType": {
   "enum": [
    "TEXT",
    "NUMBER",
    "BOOLEAN",
    "TEXT_LIST",
    "NUMBER_LIST"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/AttributeId",
  "/properties/LockVersion",
  "/properties/LastModifiedRegion",
  "/properties/LastModifiedTime"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Connect::DataTableAttribute"
}
