HealthCheckConfig
- class aws_rfdk.HealthCheckConfig(*, healthy_fleet_threshold_percent=None, instance_healthy_threshold_count=None, instance_unhealthy_threshold_count=None, interval=None, port=None)
Bases:
object
Properties for configuring a health check.
- Parameters
healthy_fleet_threshold_percent (
Union
[int
,float
,None
]) – The percent of healthy hosts to consider fleet healthy and functioning. Default: 65%instance_healthy_threshold_count (
Union
[int
,float
,None
]) – The number of consecutive health checks successes required before considering an unhealthy target healthy. Default: 2instance_unhealthy_threshold_count (
Union
[int
,float
,None
]) – The number of consecutive health check failures required before considering a target unhealthy. Default: 3interval (
Optional
[Duration
]) – The approximate time between health checks for an individual target. Default: Duration.minutes(5)port (
Union
[int
,float
,None
]) – The port that the health monitor uses when performing health checks on the targets. Default: 8081
Attributes
- healthy_fleet_threshold_percent
The percent of healthy hosts to consider fleet healthy and functioning.
- Default
65%
- Return type
Union
[int
,float
,None
]
- instance_healthy_threshold_count
The number of consecutive health checks successes required before considering an unhealthy target healthy.
- Default
2
- Return type
Union
[int
,float
,None
]
- instance_unhealthy_threshold_count
The number of consecutive health check failures required before considering a target unhealthy.
- Default
3
- Return type
Union
[int
,float
,None
]
- interval
The approximate time between health checks for an individual target.
- Default
Duration.minutes(5)
- Return type
Optional
[Duration
]
- port
The port that the health monitor uses when performing health checks on the targets.
- Default
8081
- Return type
Union
[int
,float
,None
]