Interface CustomResourceConversion

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

    @Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
               date="2023-01-26T02:32:35.000Z")
    @Stability(Stable)
    public interface CustomResourceConversion
    extends software.amazon.jsii.JsiiSerializable
    CustomResourceConversion describes how to convert different versions of a CR.
    • Method Detail

      • getStrategy

        @Stability(Stable)
        @NotNull
        String getStrategy()
        strategy specifies how custom resources are converted between versions.

        Allowed values are: - None: The converter only change the apiVersion and would not touch any other field in the custom resource. - Webhook: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.

      • getWebhook

        @Stability(Stable)
        @Nullable
        default WebhookConversion getWebhook()
        webhook describes how to call the conversion webhook.

        Required when strategy is set to Webhook.