ContainerServiceHealthCheckConfig class

Describes the health check configuration of an Amazon Lightsail container service.

Constructors

ContainerServiceHealthCheckConfig({int? healthyThreshold, int? intervalSeconds, String? path, String? successCodes, int? timeoutSeconds, int? unhealthyThreshold})
ContainerServiceHealthCheckConfig.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
healthyThreshold int?
The number of consecutive health checks successes required before moving the container to the Healthy state.
final
intervalSeconds int?
The approximate interval, in seconds, between health checks of an individual container. You may specify between 5 and 300 seconds.
final
path String?
The path on the container on which to perform the health check.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successCodes String?
The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499.
final
timeoutSeconds int?
The amount of time, in seconds, during which no response means a failed health check. You may specify between 2 and 60 seconds.
final
unhealthyThreshold int?
The number of consecutive health check failures required before moving the container to the Unhealthy state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited