AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodePipeline Webhook WebhookFilterRule

The WebhookFilterRule property type specifies events that will trigger a webhook. For more information, see Webhook Definition in the AWS CodePipeline API Reference.

The Filters property of the AWS::CodePipeline::Webhook resource contains a list of WebhookFilterRule property types. The is the list of rules applied to the body/payload sent in the POST request to a webhook URL.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "JsonPath" : String, "MatchEquals" : String }

YAML

JsonPath: String MatchEquals: String

Properties

JsonPath

A JsonPath expression that will be applied to the body/payload of the webhook.

Required: Yes

Type: String

Update requires: No interruption

MatchEquals

The value selected by the JsonPath expression must match what is supplied in the MatchEquals field, otherwise the request will be ignored.

Required: No

Type: String

Update requires: No interruption

On this page: