{
 "additionalProperties": false,
 "definitions": {
  "LogGroup": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "[\\.\\-_/#A-Za-z0-9]+",
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/QueryDefinitionId"
 ],
 "properties": {
  "LogGroupNames": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/LogGroup"
   },
   "type": "array"
  },
  "Name": {
   "maxLength": 255,
   "minLength": 1,
   "type": "string"
  },
  "QueryDefinitionId": {
   "maxLength": 256,
   "minLength": 0,
   "type": "string"
  },
  "QueryLanguage": {
   "default": "CWLI",
   "enum": [
    "CWLI",
    "SQL",
    "PPL"
   ],
   "type": "string"
  },
  "QueryString": {
   "maxLength": 10000,
   "minLength": 1,
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/QueryDefinitionId"
 ],
 "required": [
  "Name",
  "QueryString"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Logs::QueryDefinition"
}
