Struct aws_sdk_codepipeline::model::WebhookFilterRule
source · #[non_exhaustive]pub struct WebhookFilterRule { /* private fields */ }
Expand description
The event criteria that specify when a webhook notification is sent to your URL.
Implementations§
source§impl WebhookFilterRule
impl WebhookFilterRule
sourcepub fn json_path(&self) -> Option<&str>
pub fn json_path(&self) -> Option<&str>
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.
sourcepub fn match_equals(&self) -> Option<&str>
pub fn match_equals(&self) -> Option<&str>
The value selected by the JsonPath
expression must match what is supplied in the MatchEquals
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 "master", the MatchEquals
value is evaluated as "refs/heads/master". For a list of action configuration properties for built-in action types, see Pipeline Structure Reference Action Requirements.
source§impl WebhookFilterRule
impl WebhookFilterRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WebhookFilterRule
.
Trait Implementations§
source§impl Clone for WebhookFilterRule
impl Clone for WebhookFilterRule
source§fn clone(&self) -> WebhookFilterRule
fn clone(&self) -> WebhookFilterRule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WebhookFilterRule
impl Debug for WebhookFilterRule
source§impl PartialEq<WebhookFilterRule> for WebhookFilterRule
impl PartialEq<WebhookFilterRule> for WebhookFilterRule
source§fn eq(&self, other: &WebhookFilterRule) -> bool
fn eq(&self, other: &WebhookFilterRule) -> bool
self
and other
values to be equal, and is used
by ==
.