Interface CfnWebhook.WebhookFilterRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebhook.WebhookFilterRuleProperty.Jsii$Proxy
- Enclosing class:
CfnWebhook
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWebhook.WebhookFilterRuleProperty
static final class
An implementation forCfnWebhook.WebhookFilterRuleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonPath
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
MatchEquals
field. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.- See Also:
-
getMatchEquals
The value selected by theJsonPath
expression must match what is supplied in theMatchEquals
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
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 .- See Also:
-
builder
-