Show / Hide Table of Contents

Class CfnWebhook.WebhookFilterRuleProperty

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

Inheritance
System.Object
CfnWebhook.WebhookFilterRuleProperty
Implements
CfnWebhook.IWebhookFilterRuleProperty
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public class WebhookFilterRuleProperty : Object, CfnWebhook.IWebhookFilterRuleProperty
Syntax (vb)
Public Class WebhookFilterRuleProperty
    Inherits Object
    Implements CfnWebhook.IWebhookFilterRuleProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;

WebhookFilterRuleProperty webhookFilterRuleProperty = new WebhookFilterRuleProperty {
    JsonPath = "jsonPath",

    // the properties below are optional
    MatchEquals = "matchEquals"
};

Synopsis

Constructors

WebhookFilterRuleProperty()

Properties

JsonPath

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

MatchEquals

The value selected by the JsonPath expression must match what is supplied in the MatchEquals field.

Constructors

WebhookFilterRuleProperty()

public WebhookFilterRuleProperty()

Properties

JsonPath

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

public string JsonPath { get; set; }
Property Value

System.String

Remarks

The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html#cfn-codepipeline-webhook-webhookfilterrule-jsonpath

MatchEquals

The value selected by the JsonPath expression must match what is supplied in the MatchEquals field.

public string MatchEquals { get; set; }
Property Value

System.String

Remarks

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 MatchEquals value is evaluated as "refs/heads/main". For a list of action configuration properties for built-in action types, see Pipeline Structure Reference Action Requirements .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html#cfn-codepipeline-webhook-webhookfilterrule-matchequals

Implements

CfnWebhook.IWebhookFilterRuleProperty
Back to top Generated by DocFX