TargetGroupConfigHealthCheck class
Constructors
-
TargetGroupConfigHealthCheck({Input<bool?>? enabled, Input<int?>? healthCheckIntervalSeconds, Input<int?>? healthCheckTimeoutSeconds, Input<int?>? healthyThresholdCount, Input<TargetGroupConfigHealthCheckMatcher?>? matcher, Input<String?>? path, Input<int?>? port, Input<String?>? protocol, Input<String?>? protocolVersion, Input<int?>? unhealthyThresholdCount})
-
Creates a new TargetGroupConfigHealthCheck.
enabled Whether health checking is enabled. Defaults to true.
healthCheckIntervalSeconds Approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
healthCheckTimeoutSeconds Amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
healthyThresholdCount Number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
matcher Codes to use when checking for a successful response from a target. See matcher Block below.
path Destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is /. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
port Port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
protocol Protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS.
protocolVersion Protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2. The default is HTTP1.
unhealthyThresholdCount Number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
const
-
TargetGroupConfigHealthCheck.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
enabled
→ Input<bool?>?
-
Whether health checking is enabled. Defaults to
true.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
healthCheckIntervalSeconds
→ Input<int?>?
-
Approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
final
-
healthCheckTimeoutSeconds
→ Input<int?>?
-
Amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
final
-
healthyThresholdCount
→ Input<int?>?
-
Number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
final
-
matcher
→ Input<TargetGroupConfigHealthCheckMatcher?>?
-
Codes to use when checking for a successful response from a target. See
matcher Block below.
final
-
path
→ Input<String?>?
-
Destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is
/. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
final
-
port
→ Input<int?>?
-
Port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
final
-
protocol
→ Input<String?>?
-
Protocol used when performing health checks on targets. The possible protocols are
HTTP and HTTPS.
final
-
protocolVersion
→ Input<String?>?
-
Protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1 and HTTP2. The default is HTTP1.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
unhealthyThresholdCount
→ Input<int?>?
-
Number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
final