{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/EventSourceName"
 ],
 "definitions": {
  "TagEntry": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "EventSourceName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^aws\\.partner(/[\\.\\-_A-Za-z0-9]+){2,}$",
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "^[/\\.\\-_A-Za-z0-9]+$",
   "type": "string"
  },
  "Policy": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/TagEntry"
   },
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Policy",
  "/properties/Arn"
 ],
 "required": [
  "Name"
 ],
 "typeName": "AWS::Events::EventBus"
}
