{
 "additionalProperties": false,
 "primaryIdentifier": [
  "/properties/AnomalyDetectorArn"
 ],
 "properties": {
  "AccountId": {
   "type": "string"
  },
  "AnomalyDetectorArn": {
   "type": "string"
  },
  "AnomalyDetectorStatus": {
   "type": "string"
  },
  "AnomalyVisibilityTime": {
   "maximum": 90,
   "minimum": 7,
   "type": "number"
  },
  "CreationTimeStamp": {
   "type": "number"
  },
  "DetectorName": {
   "minLength": 1,
   "type": "string"
  },
  "EvaluationFrequency": {
   "enum": [
    "FIVE_MIN",
    "TEN_MIN",
    "FIFTEEN_MIN",
    "THIRTY_MIN",
    "ONE_HOUR"
   ],
   "type": "string"
  },
  "FilterPattern": {
   "maxLength": 1024,
   "minLength": 0,
   "pattern": "",
   "type": "string"
  },
  "KmsKeyId": {
   "anyOf": [
    {
     "format": "AWS::KMS::Key.Arn"
    },
    {
     "format": "AWS::KMS::Key.Id"
    },
    {
     "format": "AWS::KMS::Alias.AliasName"
    }
   ],
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^arn:aws[a-z\\-]*:kms:[-a-z0-9]*:[0-9]*:key/[-a-z0-9]*$",
   "type": "string"
  },
  "LastModifiedTimeStamp": {
   "type": "number"
  },
  "LogGroupArnList": {
   "insertionOrder": false,
   "items": {
    "maxLength": 2048,
    "minLength": 20,
    "pattern": "^[\\w#+=/:,.@*-]*$",
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/AnomalyDetectorArn",
  "/properties/CreationTimeStamp",
  "/properties/LastModifiedTimeStamp",
  "/properties/AnomalyDetectorStatus"
 ],
 "required": [],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Logs::LogAnomalyDetector",
 "writeOnlyProperties": [
  "/properties/AccountId"
 ]
}
