@Stability(value=Experimental) @Internal public static final class HealthCheck.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HealthCheck
HealthChecksoftware.amazon.jsii.JsiiObject.InitializationModeHealthCheck.Builder, HealthCheck.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number healthyThreshold,
Duration interval,
String path,
Number port,
Protocol protocol,
Duration timeout,
Number unhealthyThreshold)
Constructor that initializes the object based on literal property values passed by the
HealthCheck.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getHealthyThreshold()
(experimental) Number of successful attempts before considering the node UP.
|
Duration |
getInterval()
(experimental) Interval in milliseconds to re-check.
|
String |
getPath()
(experimental) The path where the application expects any health-checks, this can also be the application path.
|
Number |
getPort()
(experimental) The TCP port number for the healthcheck.
|
Protocol |
getProtocol()
(experimental) The protocol to use for the healthcheck, for convinience a const enum has been defined.
|
Duration |
getTimeout()
(experimental) Timeout in milli-seconds for the healthcheck to be considered a fail.
|
Number |
getUnhealthyThreshold()
(experimental) Number of failed attempts before considering the node DOWN.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final Number getHealthyThreshold()
HealthCheckDefault: 2
getHealthyThreshold in interface HealthCheckpublic final Duration getInterval()
HealthCheckDefault: 5 seconds
getInterval in interface HealthCheckpublic final String getPath()
HealthCheckDefault: /
getPath in interface HealthCheckpublic final Number getPort()
HealthCheckDefault: - same as corresponding port mapping
getPort in interface HealthCheckpublic final Protocol getProtocol()
HealthCheckProtocol.HTTP or Protocol.TCP
Default: - same as corresponding port mapping
getProtocol in interface HealthCheckpublic final Duration getTimeout()
HealthCheckDefault: 2 seconds
getTimeout in interface HealthCheckpublic final Number getUnhealthyThreshold()
HealthCheckDefault: 2
getUnhealthyThreshold in interface HealthCheck@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.