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

org.cdk8s.plus22.Probe Maven / Gradle / Ivy

package org.cdk8s.plus22;

/**
 * Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.47.0 (build 86d2c33)", date = "2021-12-08T00:16:55.115Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus22.$Module.class, fqn = "cdk8s-plus-22.Probe")
public abstract class Probe extends software.amazon.jsii.JsiiObject {

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

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    protected Probe() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * Defines a probe based on a command which is executed within the container.
     * 

* @param command The command to execute. This parameter is required. * @param options Options. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Probe fromCommand(final @org.jetbrains.annotations.NotNull java.util.List command, final @org.jetbrains.annotations.Nullable org.cdk8s.plus22.CommandProbeOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.Probe.class, "fromCommand", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.Probe.class), new Object[] { java.util.Objects.requireNonNull(command, "command is required"), options }); } /** * Defines a probe based on a command which is executed within the container. *

* @param command The command to execute. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Probe fromCommand(final @org.jetbrains.annotations.NotNull java.util.List command) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.Probe.class, "fromCommand", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.Probe.class), new Object[] { java.util.Objects.requireNonNull(command, "command is required") }); } /** * Defines a probe based on an HTTP GET request to the IP address of the container. *

* @param path The URL path to hit. This parameter is required. * @param options Options. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Probe fromHttpGet(final @org.jetbrains.annotations.NotNull java.lang.String path, final @org.jetbrains.annotations.Nullable org.cdk8s.plus22.HttpGetProbeOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.Probe.class, "fromHttpGet", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.Probe.class), new Object[] { java.util.Objects.requireNonNull(path, "path is required"), options }); } /** * Defines a probe based on an HTTP GET request to the IP address of the container. *

* @param path The URL path to hit. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Probe fromHttpGet(final @org.jetbrains.annotations.NotNull java.lang.String path) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.Probe.class, "fromHttpGet", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.Probe.class), new Object[] { java.util.Objects.requireNonNull(path, "path is required") }); } /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal private static final class Jsii$Proxy extends org.cdk8s.plus22.Probe { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy