IHealthMonitor
- class aws_rfdk.IHealthMonitor(*args, **kwargs)
Bases:
IConstruct
,Protocol
Interface for the Health Monitor.
Methods
- register_fleet(monitorable_fleet, *, healthy_fleet_threshold_percent=None, instance_healthy_threshold_count=None, instance_unhealthy_threshold_count=None, interval=None, port=None)
Attaches the load-balancing target to the ELB for instance-level monitoring.
- Parameters:
monitorable_fleet (
IMonitorableFleet
) –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
- Return type:
None
Attributes
- node
The tree node.