{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/EventBridgeBus",
  "/properties/EventFilter"
 ],
 "definitions": {
  "EventFilter": {
   "additionalProperties": false,
   "properties": {
    "Source": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "^aws\\.(partner\\/.*|cases)$",
     "type": "string"
    }
   },
   "required": [
    "Source"
   ],
   "type": "object"
  },
  "Metadata": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 255,
     "minLength": 1,
     "pattern": ".*\\S.*",
     "type": "string"
    },
    "Value": {
     "maxLength": 255,
     "minLength": 1,
     "pattern": ".*\\S.*",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Name"
 ],
 "properties": {
  "Description": {
   "maxLength": 1000,
   "minLength": 1,
   "type": "string"
  },
  "EventBridgeBus": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9/\\._\\-]+$",
   "type": "string"
  },
  "EventFilter": {
   "$ref": "#/definitions/EventFilter"
  },
  "EventIntegrationArn": {
   "maxLength": 2048,
   "minLength": 1,
   "pattern": "^arn:aws[-a-z]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$",
   "type": "string"
  },
  "Name": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "^[a-zA-Z0-9/\\._\\-]+$",
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 0,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/EventIntegrationArn"
 ],
 "required": [
  "Name",
  "EventBridgeBus",
  "EventFilter"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::AppIntegrations::EventIntegration"
}
