{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/InstanceArn",
  "/properties/DataTableArn"
 ],
 "definitions": {
  "AttributeId": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "Value": {
   "additionalProperties": false,
   "properties": {
    "AttributeId": {
     "$ref": "#/definitions/AttributeId"
    },
    "AttributeValue": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/InstanceArn",
  "/properties/DataTableArn",
  "/properties/RecordId"
 ],
 "properties": {
  "DataTableArn": {
   "maxLength": 2048,
   "minLength": 1,
   "type": "string"
  },
  "DataTableRecord": {
   "additionalProperties": false,
   "properties": {
    "PrimaryValues": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Value"
     },
     "type": "array"
    },
    "Values": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Value"
     },
     "type": "array"
    }
   },
   "required": [
    "Values"
   ],
   "type": "object"
  },
  "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"
  },
  "RecordId": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/RecordId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Connect::DataTableRecord"
}
