@Generated(value="jsii-pacmak/0.7.8 (build 100f5ad)", date="2018-10-26T17:55:41.589Z") public interface HealthCheck extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
HealthCheck.Builder
A builder for
HealthCheck |
static class |
HealthCheck.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheck.Builder |
builder() |
Number |
getHealthyThreshold()
After how many successful checks is an instance considered healthy
|
Number |
getInterval()
Number of seconds between health checks
|
String |
getPath()
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.
|
Number |
getPort()
What port number to health check on
|
LoadBalancingProtocol |
getProtocol()
What protocol to use for health checking
The protocol is automatically determined from the port if it's not supplied.
|
Number |
getTimeout()
Health check timeout
|
Number |
getUnhealthyThreshold()
After how many unsuccessful checks is an instance considered unhealthy
|
void |
setHealthyThreshold(Number value)
After how many successful checks is an instance considered healthy
|
void |
setInterval(Number value)
Number of seconds between health checks
|
void |
setPath(String value)
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.
|
void |
setPort(Number value)
What port number to health check on
|
void |
setProtocol(LoadBalancingProtocol value)
What protocol to use for health checking
The protocol is automatically determined from the port if it's not supplied.
|
void |
setTimeout(Number value)
Health check timeout
|
void |
setUnhealthyThreshold(Number value)
After how many unsuccessful checks is an instance considered unhealthy
|
Number getPort()
void setPort(Number value)
Number getHealthyThreshold()
void setHealthyThreshold(Number value)
Number getInterval()
void setInterval(Number value)
String getPath()
void setPath(String value)
LoadBalancingProtocol getProtocol()
void setProtocol(LoadBalancingProtocol value)
Number getTimeout()
void setTimeout(Number value)
Number getUnhealthyThreshold()
void setUnhealthyThreshold(Number value)
static HealthCheck.Builder builder()
HealthCheck.Builder of HealthCheckCopyright © 2018. All rights reserved.