{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "WebhookAuthConfiguration": {
   "additionalProperties": false,
   "properties": {
    "AllowedIPRange": {
     "maxLength": 100,
     "minLength": 1,
     "type": "string"
    },
    "SecretToken": {
     "maxLength": 100,
     "minLength": 1,
     "type": "string"
    }
   },
   "type": "object"
  },
  "WebhookFilterRule": {
   "additionalProperties": false,
   "properties": {
    "JsonPath": {
     "maxLength": 150,
     "minLength": 1,
     "type": "string"
    },
    "MatchEquals": {
     "maxLength": 150,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "JsonPath"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Authentication": {
   "enum": [
    "GITHUB_HMAC",
    "IP",
    "UNAUTHENTICATED"
   ],
   "type": "string"
  },
  "AuthenticationConfiguration": {
   "$ref": "#/definitions/WebhookAuthConfiguration"
  },
  "Filters": {
   "insertionOrder": true,
   "items": {
    "$ref": "#/definitions/WebhookFilterRule"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "[A-Za-z0-9.@\\-_]+",
   "type": "string"
  },
  "RegisterWithThirdParty": {
   "type": "boolean"
  },
  "TargetAction": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "[A-Za-z0-9.@\\-_]+",
   "type": "string"
  },
  "TargetPipeline": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "[A-Za-z0-9.@\\-_]+",
   "type": "string"
  },
  "TargetPipelineVersion": {
   "type": "integer"
  },
  "Url": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Url"
 ],
 "required": [
  "AuthenticationConfiguration",
  "Filters",
  "Authentication",
  "TargetPipeline",
  "TargetAction"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-codepipeline-webhook",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::CodePipeline::Webhook",
 "writeOnlyProperties": [
  "/properties/TargetPipelineVersion",
  "/properties/RegisterWithThirdParty"
 ]
}
