/AWS1/CL_MPBHEALTHCHECKCONFIG¶
The health check configuration for a managed endpoint. Defines how the service probes instances in the Auto Scaling group to determine their health status.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_port TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER¶
The port to use for health check probes. Valid range is 80 to 65535.
iv_path TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING¶
The destination path for the health check request. Must start with
/.
Optional arguments:¶
iv_protocol TYPE /AWS1/MPBPROTOCOL /AWS1/MPBPROTOCOL¶
The protocol to use for health check probes.
iv_timeoutms TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER¶
The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.
iv_intervalseconds TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER¶
The interval between health check probes, in seconds. Valid range is 5 to 60.
iv_statuscodematcher TYPE /AWS1/MPBSTATUSCODEMATCHER /AWS1/MPBSTATUSCODEMATCHER¶
The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example,
200), a range (for example,200-299), or a comma-separated list (for example,200,204).
iv_healthythresholdcount TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER¶
The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.
iv_unhealthythresholdcount TYPE /AWS1/MPBINTEGER /AWS1/MPBINTEGER¶
The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.
Queryable Attributes¶
port¶
The port to use for health check probes. Valid range is 80 to 65535.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PORT() |
Getter for PORT, with configurable default |
ASK_PORT() |
Getter for PORT w/ exceptions if field has no value |
HAS_PORT() |
Determine if PORT has a value |
path¶
The destination path for the health check request. Must start with
/.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PATH() |
Getter for PATH, with configurable default |
ASK_PATH() |
Getter for PATH w/ exceptions if field has no value |
HAS_PATH() |
Determine if PATH has a value |
protocol¶
The protocol to use for health check probes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROTOCOL() |
Getter for PROTOCOL, with configurable default |
ASK_PROTOCOL() |
Getter for PROTOCOL w/ exceptions if field has no value |
HAS_PROTOCOL() |
Determine if PROTOCOL has a value |
timeoutMs¶
The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMEOUTMS() |
Getter for TIMEOUTMS, with configurable default |
ASK_TIMEOUTMS() |
Getter for TIMEOUTMS w/ exceptions if field has no value |
HAS_TIMEOUTMS() |
Determine if TIMEOUTMS has a value |
intervalSeconds¶
The interval between health check probes, in seconds. Valid range is 5 to 60.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERVALSECONDS() |
Getter for INTERVALSECONDS, with configurable default |
ASK_INTERVALSECONDS() |
Getter for INTERVALSECONDS w/ exceptions if field has no val |
HAS_INTERVALSECONDS() |
Determine if INTERVALSECONDS has a value |
statusCodeMatcher¶
The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example,
200), a range (for example,200-299), or a comma-separated list (for example,200,204).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUSCODEMATCHER() |
Getter for STATUSCODEMATCHER, with configurable default |
ASK_STATUSCODEMATCHER() |
Getter for STATUSCODEMATCHER w/ exceptions if field has no v |
HAS_STATUSCODEMATCHER() |
Determine if STATUSCODEMATCHER has a value |
healthyThresholdCount¶
The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEALTHYTHRESHOLDCOUNT() |
Getter for HEALTHYTHRESHOLDCOUNT, with configurable default |
ASK_HEALTHYTHRESHOLDCOUNT() |
Getter for HEALTHYTHRESHOLDCOUNT w/ exceptions if field has |
HAS_HEALTHYTHRESHOLDCOUNT() |
Determine if HEALTHYTHRESHOLDCOUNT has a value |
unhealthyThresholdCount¶
The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNHEALTHYTHRESHOLDCOUNT() |
Getter for UNHEALTHYTHRESHOLDCOUNT, with configurable defaul |
ASK_UNHEALTHYTHRESHOLDCOUNT() |
Getter for UNHEALTHYTHRESHOLDCOUNT w/ exceptions if field ha |
HAS_UNHEALTHYTHRESHOLDCOUNT() |
Determine if UNHEALTHYTHRESHOLDCOUNT has a value |