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

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

package org.cdk8s.plus31;

/**
 * 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.105.0 (build 0a2adcb)", date = "2024-11-15T12:15:24.886Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.Probe")
public 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);
    }

    /**
     * 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.plus31.Probe fromCommand(final @org.jetbrains.annotations.NotNull java.util.List command, final @org.jetbrains.annotations.Nullable org.cdk8s.plus31.CommandProbeOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromCommand", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.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.plus31.Probe fromCommand(final @org.jetbrains.annotations.NotNull java.util.List command) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromCommand", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.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.plus31.Probe fromHttpGet(final @org.jetbrains.annotations.NotNull java.lang.String path, final @org.jetbrains.annotations.Nullable org.cdk8s.plus31.HttpGetProbeOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromHttpGet", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.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.plus31.Probe fromHttpGet(final @org.jetbrains.annotations.NotNull java.lang.String path) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromHttpGet", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.Probe.class), new Object[] { java.util.Objects.requireNonNull(path, "path is required") }); } /** * Defines a probe based opening a connection to a TCP socket on the container. *

* @param options Options. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus31.Probe fromTcpSocket(final @org.jetbrains.annotations.Nullable org.cdk8s.plus31.TcpSocketProbeOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromTcpSocket", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.Probe.class), new Object[] { options }); } /** * Defines a probe based opening a connection to a TCP socket on the container. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus31.Probe fromTcpSocket() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus31.Probe.class, "fromTcpSocket", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.Probe.class)); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy