Struct aws_sdk_codepipeline::model::WebhookFilterRule [−][src]
#[non_exhaustive]pub struct WebhookFilterRule {
pub json_path: Option<String>,
pub match_equals: Option<String>,
}
Expand description
The event criteria that specify when a webhook notification is sent to your URL.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.json_path: Option<String>
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.
match_equals: Option<String>
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.
Implementations
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.
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.
Creates a new builder-style object to manufacture WebhookFilterRule
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebhookFilterRule
impl Send for WebhookFilterRule
impl Sync for WebhookFilterRule
impl Unpin for WebhookFilterRule
impl UnwindSafe for WebhookFilterRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more