{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "Arn": {
   "maxLength": 2048,
   "minLength": 16,
   "pattern": "[\\w#+=/:,.@-]*\\*?",
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Name"
 ],
 "properties": {
  "Arn": {
   "$ref": "#/definitions/Arn"
  },
  "DeliverySourceConfiguration": {
   "additionalProperties": false,
   "patternProperties": {
    "^.{1,255}$": {
     "maxLength": 255,
     "minLength": 1,
     "type": "string"
    }
   },
   "type": "object"
  },
  "LogType": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "[\\w-]*$",
   "type": "string"
  },
  "Name": {
   "maxLength": 60,
   "minLength": 1,
   "pattern": "[\\w-]*$",
   "type": "string"
  },
  "ResourceArn": {
   "$ref": "#/definitions/Arn"
  },
  "ResourceArns": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Arn"
   },
   "type": "array",
   "uniqueItems": true
  },
  "Service": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "[\\w-]*$",
   "type": "string"
  },
  "Status": {
   "enum": [
    "ACTIVE",
    "INACTIVE"
   ],
   "type": "string"
  },
  "StatusReason": {
   "enum": [
    "RESOURCE_DELETED"
   ],
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Service",
  "/properties/ResourceArns",
  "/properties/Arn",
  "/properties/Status",
  "/properties/StatusReason"
 ],
 "required": [
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Logs::DeliverySource",
 "writeOnlyProperties": [
  "/properties/ResourceArn"
 ]
}
