public static interface CfnWebhook.WebhookFilterRuleProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codepipeline.*; WebhookFilterRuleProperty webhookFilterRuleProperty = WebhookFilterRuleProperty.builder() .jsonPath("jsonPath") // the properties below are optional .matchEquals("matchEquals") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebhook.WebhookFilterRuleProperty.Builder
A builder for
CfnWebhook.WebhookFilterRuleProperty |
static class |
CfnWebhook.WebhookFilterRuleProperty.Jsii$Proxy
An implementation for
CfnWebhook.WebhookFilterRuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWebhook.WebhookFilterRuleProperty.Builder |
builder() |
java.lang.String |
getJsonPath()
A JsonPath expression that is applied to the body/payload of the webhook.
|
default java.lang.String |
getMatchEquals()
The value selected by the `JsonPath` expression must match what is supplied in the `MatchEquals` field.
|
java.lang.String getJsonPath()
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.
default java.lang.String getMatchEquals()
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 .
static CfnWebhook.WebhookFilterRuleProperty.Builder builder()