Class CfnWebhook.WebhookFilterRuleProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.CfnWebhook.WebhookFilterRuleProperty.Jsii$Proxy
All Implemented Interfaces:
CfnWebhook.WebhookFilterRuleProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnWebhook.WebhookFilterRuleProperty

@Stability(Stable) @Internal public static final class CfnWebhook.WebhookFilterRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebhook.WebhookFilterRuleProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnWebhook.WebhookFilterRuleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnWebhook.WebhookFilterRuleProperty.Builder.
  • Method Details

    • getJsonPath

      public final String getJsonPath()
      Description copied from interface: CfnWebhook.WebhookFilterRuleProperty
      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.

      Specified by:
      getJsonPath in interface CfnWebhook.WebhookFilterRuleProperty
    • getMatchEquals

      public final String getMatchEquals()
      Description copied from interface: CfnWebhook.WebhookFilterRuleProperty
      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 "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 .

      Specified by:
      getMatchEquals in interface CfnWebhook.WebhookFilterRuleProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object