WebhookFilterRule

The event criteria that specify when a webhook notification is sent to your URL.

AmazonCI/CDContinuous DeliveryDevOpsPipelineRelease Automation

Properties

Name Type Description
jsonPath object
matchEquals object
View JSON Schema on GitHub

JSON Schema

amazon-codepipeline-webhook-filter-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-schema/amazon-codepipeline-webhook-filter-rule-schema.json",
  "title": "WebhookFilterRule",
  "description": "The event criteria that specify when a webhook notification is sent to your URL.",
  "type": "object",
  "properties": {
    "jsonPath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JsonPath"
        },
        {
          "description": "A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the <code>MatchEquals</code> field. Otherwise, the request is ignored. For more information, see <a href=\"https://github.com/json-path/JsonPath\">Java JsonPath implementation</a> in GitHub."
        }
      ]
    },
    "matchEquals": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MatchEquals"
        },
        {
          "description": "The value selected by the <code>JsonPath</code> expression must match what is supplied in the <code>MatchEquals</code> field. Otherwise, the request is ignored. Properties from the target action configuration can be included as placeholders in this value by surrounding the action configuration key with curly brackets. For example, if the value supplied here is \"refs/heads/{Branch}\" and the target action has an action configuration property called \"Branch\" with a value of \"main\", the <code>MatchEquals</code> value is evaluated as \"refs/heads/main\". For a list of action configuration properties for built-in action types, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements\">Pipeline Structure Reference Action Requirements</a>."
        }
      ]
    }
  },
  "required": [
    "jsonPath"
  ]
}