| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppMesh.Types.HealthCheckPolicy
Description
Synopsis
- data HealthCheckPolicy = HealthCheckPolicy' {}
- newHealthCheckPolicy :: Natural -> Natural -> PortProtocol -> Natural -> Natural -> HealthCheckPolicy
- healthCheckPolicy_path :: Lens' HealthCheckPolicy (Maybe Text)
- healthCheckPolicy_port :: Lens' HealthCheckPolicy (Maybe Natural)
- healthCheckPolicy_healthyThreshold :: Lens' HealthCheckPolicy Natural
- healthCheckPolicy_intervalMillis :: Lens' HealthCheckPolicy Natural
- healthCheckPolicy_protocol :: Lens' HealthCheckPolicy PortProtocol
- healthCheckPolicy_timeoutMillis :: Lens' HealthCheckPolicy Natural
- healthCheckPolicy_unhealthyThreshold :: Lens' HealthCheckPolicy Natural
Documentation
data HealthCheckPolicy Source #
An object that represents the health check policy for a virtual node's listener.
See: newHealthCheckPolicy smart constructor.
Constructors
| HealthCheckPolicy' | |
Fields
| |
Instances
Arguments
| :: Natural | |
| -> Natural | |
| -> PortProtocol | |
| -> Natural | |
| -> Natural | |
| -> HealthCheckPolicy |
Create a value of HealthCheckPolicy 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:path:HealthCheckPolicy', healthCheckPolicy_path - The destination path for the health check request. This value is only
used if the specified protocol is HTTP or HTTP/2. For any other
protocol, this value is ignored.
$sel:port:HealthCheckPolicy', healthCheckPolicy_port - The destination port for the health check request. This port must match
the port defined in the PortMapping for the listener.
$sel:healthyThreshold:HealthCheckPolicy', healthCheckPolicy_healthyThreshold - The number of consecutive successful health checks that must occur
before declaring listener healthy.
$sel:intervalMillis:HealthCheckPolicy', healthCheckPolicy_intervalMillis - The time period in milliseconds between each health check execution.
$sel:protocol:HealthCheckPolicy', healthCheckPolicy_protocol - The protocol for the health check request. If you specify grpc, then
your service must conform to the
GRPC Health Checking Protocol.
$sel:timeoutMillis:HealthCheckPolicy', healthCheckPolicy_timeoutMillis - The amount of time to wait when receiving a response from the health
check, in milliseconds.
$sel:unhealthyThreshold:HealthCheckPolicy', healthCheckPolicy_unhealthyThreshold - The number of consecutive failed health checks that must occur before
declaring a virtual node unhealthy.
healthCheckPolicy_path :: Lens' HealthCheckPolicy (Maybe Text) Source #
The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
healthCheckPolicy_port :: Lens' HealthCheckPolicy (Maybe Natural) Source #
The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
healthCheckPolicy_healthyThreshold :: Lens' HealthCheckPolicy Natural Source #
The number of consecutive successful health checks that must occur before declaring listener healthy.
healthCheckPolicy_intervalMillis :: Lens' HealthCheckPolicy Natural Source #
The time period in milliseconds between each health check execution.
healthCheckPolicy_protocol :: Lens' HealthCheckPolicy PortProtocol Source #
The protocol for the health check request. If you specify grpc, then
your service must conform to the
GRPC Health Checking Protocol.
healthCheckPolicy_timeoutMillis :: Lens' HealthCheckPolicy Natural Source #
The amount of time to wait when receiving a response from the health check, in milliseconds.
healthCheckPolicy_unhealthyThreshold :: Lens' HealthCheckPolicy Natural Source #
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.