Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ContainerServiceHealthCheckConfig = ContainerServiceHealthCheckConfig' {}
- newContainerServiceHealthCheckConfig :: ContainerServiceHealthCheckConfig
- containerServiceHealthCheckConfig_healthyThreshold :: Lens' ContainerServiceHealthCheckConfig (Maybe Int)
- containerServiceHealthCheckConfig_path :: Lens' ContainerServiceHealthCheckConfig (Maybe Text)
- containerServiceHealthCheckConfig_successCodes :: Lens' ContainerServiceHealthCheckConfig (Maybe Text)
- containerServiceHealthCheckConfig_intervalSeconds :: Lens' ContainerServiceHealthCheckConfig (Maybe Int)
- containerServiceHealthCheckConfig_timeoutSeconds :: Lens' ContainerServiceHealthCheckConfig (Maybe Int)
- containerServiceHealthCheckConfig_unhealthyThreshold :: Lens' ContainerServiceHealthCheckConfig (Maybe Int)
Documentation
data ContainerServiceHealthCheckConfig Source #
Describes the health check configuration of an Amazon Lightsail container service.
See: newContainerServiceHealthCheckConfig
smart constructor.
ContainerServiceHealthCheckConfig' | |
|
Instances
newContainerServiceHealthCheckConfig :: ContainerServiceHealthCheckConfig Source #
Create a value of ContainerServiceHealthCheckConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:healthyThreshold:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_healthyThreshold
- The number of consecutive health checks successes required before moving
the container to the Healthy
state. The default value is 2
.
$sel:path:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_path
- The path on the container on which to perform the health check. The
default value is /
.
$sel:successCodes:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_successCodes
- The HTTP codes to use when checking for a successful response from a
container. You can specify values between 200
and 499
. You can
specify multiple values (for example, 200,202
) or a range of values
(for example, 200-299
).
$sel:intervalSeconds:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_intervalSeconds
- The approximate interval, in seconds, between health checks of an
individual container. You can specify between 5 and 300 seconds. The
default value is 5
.
$sel:timeoutSeconds:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_timeoutSeconds
- The amount of time, in seconds, during which no response means a failed
health check. You can specify between 2 and 60 seconds. The default
value is 2
.
$sel:unhealthyThreshold:ContainerServiceHealthCheckConfig'
, containerServiceHealthCheckConfig_unhealthyThreshold
- The number of consecutive health check failures required before moving
the container to the Unhealthy
state. The default value is 2
.
containerServiceHealthCheckConfig_healthyThreshold :: Lens' ContainerServiceHealthCheckConfig (Maybe Int) Source #
The number of consecutive health checks successes required before moving
the container to the Healthy
state. The default value is 2
.
containerServiceHealthCheckConfig_path :: Lens' ContainerServiceHealthCheckConfig (Maybe Text) Source #
The path on the container on which to perform the health check. The
default value is /
.
containerServiceHealthCheckConfig_successCodes :: Lens' ContainerServiceHealthCheckConfig (Maybe Text) Source #
The HTTP codes to use when checking for a successful response from a
container. You can specify values between 200
and 499
. You can
specify multiple values (for example, 200,202
) or a range of values
(for example, 200-299
).
containerServiceHealthCheckConfig_intervalSeconds :: Lens' ContainerServiceHealthCheckConfig (Maybe Int) Source #
The approximate interval, in seconds, between health checks of an
individual container. You can specify between 5 and 300 seconds. The
default value is 5
.
containerServiceHealthCheckConfig_timeoutSeconds :: Lens' ContainerServiceHealthCheckConfig (Maybe Int) Source #
The amount of time, in seconds, during which no response means a failed
health check. You can specify between 2 and 60 seconds. The default
value is 2
.
containerServiceHealthCheckConfig_unhealthyThreshold :: Lens' ContainerServiceHealthCheckConfig (Maybe Int) Source #
The number of consecutive health check failures required before moving
the container to the Unhealthy
state. The default value is 2
.