ServiceHealthCheckConfiguration class

Constructors

ServiceHealthCheckConfiguration({Input<int?>? healthyThreshold, Input<int?>? interval, Input<String?>? path, Input<String?>? protocol, Input<int?>? timeout, Input<int?>? unhealthyThreshold})
Creates a new ServiceHealthCheckConfiguration. healthyThreshold Number of consecutive checks that must succeed before App Runner decides that the service is healthy. Defaults to 1. Minimum value of 1. Maximum value of 20. interval Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20. path URL to send requests to for health checks. Defaults to /. Minimum length of 0. Maximum length of 51200. protocol IP protocol that App Runner uses to perform health checks for your service. Valid values: TCP, HTTP. Defaults to TCP. If you set protocol to HTTP, App Runner sends health check requests to the HTTP path specified by path. timeout Time, in seconds, to wait for a health check response before deciding it failed. Defaults to 2. Minimum value of 1. Maximum value of 20. unhealthyThreshold Number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Defaults to 5. Minimum value of 1. Maximum value of 20.
const
ServiceHealthCheckConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
healthyThreshold → Input<int?>?
Number of consecutive checks that must succeed before App Runner decides that the service is healthy. Defaults to 1. Minimum value of 1. Maximum value of 20.
final
interval → Input<int?>?
Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20.
final
path → Input<String?>?
URL to send requests to for health checks. Defaults to /. Minimum length of 0. Maximum length of 51200.
final
protocol → Input<String?>?
IP protocol that App Runner uses to perform health checks for your service. Valid values: TCP, HTTP. Defaults to TCP. If you set protocol to HTTP, App Runner sends health check requests to the HTTP path specified by path.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout → Input<int?>?
Time, in seconds, to wait for a health check response before deciding it failed. Defaults to 2. Minimum value of 1. Maximum value of 20.
final
unhealthyThreshold → Input<int?>?
Number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Defaults to 5. Minimum value of 1. Maximum value of 20.
final

Methods

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

Operators

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