Class HealthCheck.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancing.HealthCheck.Jsii$Proxy
All Implemented Interfaces:
HealthCheck, software.amazon.jsii.JsiiSerializable
Enclosing interface:
HealthCheck

@Stability(Stable) @Internal public static final class HealthCheck.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HealthCheck
An implementation for HealthCheck
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancing.HealthCheck

    HealthCheck.Builder, HealthCheck.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the HealthCheck.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    After how many successful checks is an instance considered healthy.
    final Duration
    Number of seconds between health checks.
    final String
    What path to use for HTTP or HTTPS health check (must return 200).
    final Number
    What port number to health check on.
    What protocol to use for health checking.
    final Duration
    Health check timeout.
    final Number
    After how many unsuccessful checks is an instance considered unhealthy.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(HealthCheck.Builder builder)
      Constructor that initializes the object based on literal property values passed by the HealthCheck.Builder.
  • Method Details

    • getPort

      public final Number getPort()
      Description copied from interface: HealthCheck
      What port number to health check on.
      Specified by:
      getPort in interface HealthCheck
    • getHealthyThreshold

      public final Number getHealthyThreshold()
      Description copied from interface: HealthCheck
      After how many successful checks is an instance considered healthy.

      Default: 2

      Specified by:
      getHealthyThreshold in interface HealthCheck
    • getInterval

      public final Duration getInterval()
      Description copied from interface: HealthCheck
      Number of seconds between health checks.

      Default: Duration.seconds(30)

      Specified by:
      getInterval in interface HealthCheck
    • getPath

      public final String getPath()
      Description copied from interface: HealthCheck
      What path to use for HTTP or HTTPS health check (must return 200).

      For SSL and TCP health checks, accepting connections is enough to be considered healthy.

      Default: "/"

      Specified by:
      getPath in interface HealthCheck
    • getProtocol

      public final LoadBalancingProtocol getProtocol()
      Description copied from interface: HealthCheck
      What protocol to use for health checking.

      The protocol is automatically determined from the port if it's not supplied.

      Default: Automatic

      Specified by:
      getProtocol in interface HealthCheck
    • getTimeout

      public final Duration getTimeout()
      Description copied from interface: HealthCheck
      Health check timeout.

      Default: Duration.seconds(5)

      Specified by:
      getTimeout in interface HealthCheck
    • getUnhealthyThreshold

      public final Number getUnhealthyThreshold()
      Description copied from interface: HealthCheck
      After how many unsuccessful checks is an instance considered unhealthy.

      Default: 5

      Specified by:
      getUnhealthyThreshold in interface HealthCheck
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object