Interface WebhookConversion

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    WebhookConversion.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.88.0 (build eaabd08)",
               date="2023-09-11T06:17:58.853Z")
    @Stability(Stable)
    public interface WebhookConversion
    extends software.amazon.jsii.JsiiSerializable
    WebhookConversion describes how to call a conversion webhook.
    • Method Detail

      • getConversionReviewVersions

        @Stability(Stable)
        @NotNull
        List<String> getConversionReviewVersions()
        conversionReviewVersions is an ordered list of preferred ConversionReview versions the Webhook expects.

        The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.

      • getClientConfig

        @Stability(Stable)
        @Nullable
        default WebhookClientConfig getClientConfig()
        clientConfig is the instructions for how to call the webhook if strategy is Webhook.