All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus23.DeploymentStrategy Maven / Gradle / Ivy

package org.cdk8s.plus23;

/**
 * Deployment strategies.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.75.0 (build 63bb957)", date = "2023-02-21T09:46:03.590Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus23.$Module.class, fqn = "cdk8s-plus-23.DeploymentStrategy")
public class DeploymentStrategy extends software.amazon.jsii.JsiiObject {

    protected DeploymentStrategy(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected DeploymentStrategy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * All existing Pods are killed before new ones are created.
     * 

* @see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.DeploymentStrategy recreate() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.DeploymentStrategy.class, "recreate", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.DeploymentStrategy.class)); } /** * @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.DeploymentStrategy rollingUpdate(final @org.jetbrains.annotations.Nullable org.cdk8s.plus23.DeploymentStrategyRollingUpdateOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.DeploymentStrategy.class, "rollingUpdate", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.DeploymentStrategy.class), new Object[] { options }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus23.DeploymentStrategy rollingUpdate() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus23.DeploymentStrategy.class, "rollingUpdate", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus23.DeploymentStrategy.class)); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy