Class TargetGroupHealthCheck
Inheritance
Inherited Members
Namespace: Pulumi.Aws.ApplicationLoadBalancing.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TargetGroupHealthCheck
Fields
View SourceEnabled
Boolean to enable / disable stickiness. Default is true
Declaration
public readonly bool? Enabled
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
HealthyThreshold
The number of consecutive health checks successes required before considering an unhealthy target healthy. Defaults to 3.
Declaration
public readonly int? HealthyThreshold
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Interval
The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. For lambda target groups, it needs to be greater as the timeout of the underlying lambda. Default 30 seconds.
Declaration
public readonly int? Interval
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Matcher
The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
Declaration
public readonly string Matcher
Field Value
| Type | Description |
|---|---|
| System.String |
Path
The destination for the health check request. Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
Declaration
public readonly string Path
Field Value
| Type | Description |
|---|---|
| System.String |
Port
The port on which targets receive traffic, unless overridden when registering a specific target. Required when target_type is instance or ip. Does not apply when target_type is lambda.
Declaration
public readonly string Port
Field Value
| Type | Description |
|---|---|
| System.String |
Protocol
The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when target_type is instance or ip. Does not apply when target_type is lambda.
Declaration
public readonly string Protocol
Field Value
| Type | Description |
|---|---|
| System.String |
Timeout
The amount of time, in seconds, during which no response means a failed health check. For Application Load Balancers, the range is 2 to 120 seconds, and the default is 5 seconds for the instance target type and 30 seconds for the lambda target type. For Network Load Balancers, you cannot set a custom value, and the default is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.
Declaration
public readonly int? Timeout
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
UnhealthyThreshold
The number of consecutive health check failures required before considering the target unhealthy . For Network Load Balancers, this value must be the same as the healthy_threshold. Defaults to 3.
Declaration
public readonly int? UnhealthyThreshold
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |