{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "primaryIdentifier": [
  "/properties/Name"
 ],
 "properties": {
  "Arn": {
   "pattern": "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:api-destination/[\\.\\-_A-Za-z0-9]+/[\\-A-Za-z0-9]+$",
   "type": "string"
  },
  "ArnForPolicy": {
   "pattern": "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:api-destination/[\\.\\-_A-Za-z0-9]+$",
   "type": "string"
  },
  "ConnectionArn": {
   "maxLength": 1600,
   "minLength": 1,
   "pattern": "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:connection/[\\.\\-_A-Za-z0-9]+/[\\-A-Za-z0-9]+$",
   "type": "string"
  },
  "Description": {
   "maxLength": 512,
   "type": "string"
  },
  "HttpMethod": {
   "enum": [
    "GET",
    "HEAD",
    "POST",
    "OPTIONS",
    "PUT",
    "DELETE",
    "PATCH"
   ],
   "type": "string"
  },
  "InvocationEndpoint": {
   "maxLength": 2048,
   "minLength": 1,
   "pattern": "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$",
   "type": "string"
  },
  "InvocationRateLimitPerSecond": {
   "minimum": 1,
   "type": "integer"
  },
  "Name": {
   "maxLength": 64,
   "minLength": 1,
   "pattern": "[\\.\\-_A-Za-z0-9]+",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/ArnForPolicy"
 ],
 "required": [
  "ConnectionArn",
  "InvocationEndpoint",
  "HttpMethod"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::Events::ApiDestination"
}
