/AWS1/CL_ELBHEALTHCHECK¶
Information about a health check.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_target TYPE /AWS1/ELBHEALTHCHECKTARGET /AWS1/ELBHEALTHCHECKTARGET¶
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
iv_interval TYPE /AWS1/ELBHEALTHCHECKINTERVAL /AWS1/ELBHEALTHCHECKINTERVAL¶
The approximate interval, in seconds, between health checks of an individual instance.
iv_timeout TYPE /AWS1/ELBHEALTHCHECKTIMEOUT /AWS1/ELBHEALTHCHECKTIMEOUT¶
The amount of time, in seconds, during which no response means a failed health check.
This value must be less than the
Intervalvalue.
iv_unhealthythreshold TYPE /AWS1/ELBUNHEALTHYTHRESHOLD /AWS1/ELBUNHEALTHYTHRESHOLD¶
The number of consecutive health check failures required before moving the instance to the
Unhealthystate.
iv_healthythreshold TYPE /AWS1/ELBHEALTHYTHRESHOLD /AWS1/ELBHEALTHYTHRESHOLD¶
The number of consecutive health checks successes required before moving the instance to the
Healthystate.
Queryable Attributes¶
Target¶
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGET() |
Getter for TARGET, with configurable default |
ASK_TARGET() |
Getter for TARGET w/ exceptions if field has no value |
HAS_TARGET() |
Determine if TARGET has a value |
Interval¶
The approximate interval, in seconds, between health checks of an individual instance.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERVAL() |
Getter for INTERVAL, with configurable default |
ASK_INTERVAL() |
Getter for INTERVAL w/ exceptions if field has no value |
HAS_INTERVAL() |
Determine if INTERVAL has a value |
Timeout¶
The amount of time, in seconds, during which no response means a failed health check.
This value must be less than the
Intervalvalue.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMEOUT() |
Getter for TIMEOUT, with configurable default |
ASK_TIMEOUT() |
Getter for TIMEOUT w/ exceptions if field has no value |
HAS_TIMEOUT() |
Determine if TIMEOUT has a value |
UnhealthyThreshold¶
The number of consecutive health check failures required before moving the instance to the
Unhealthystate.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNHEALTHYTHRESHOLD() |
Getter for UNHEALTHYTHRESHOLD, with configurable default |
ASK_UNHEALTHYTHRESHOLD() |
Getter for UNHEALTHYTHRESHOLD w/ exceptions if field has no |
HAS_UNHEALTHYTHRESHOLD() |
Determine if UNHEALTHYTHRESHOLD has a value |
HealthyThreshold¶
The number of consecutive health checks successes required before moving the instance to the
Healthystate.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEALTHYTHRESHOLD() |
Getter for HEALTHYTHRESHOLD, with configurable default |
ASK_HEALTHYTHRESHOLD() |
Getter for HEALTHYTHRESHOLD w/ exceptions if field has no va |
HAS_HEALTHYTHRESHOLD() |
Determine if HEALTHYTHRESHOLD has a value |