Interface ITcpHealthCheckOptions
Properties used to define TCP Based healthchecks.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITcpHealthCheckOptions
Syntax (vb)
Public Interface ITcpHealthCheckOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.AppMesh;
var tcpHealthCheckOptions = new TcpHealthCheckOptions {
HealthyThreshold = 123,
Interval = Duration.Minutes(30),
Timeout = Duration.Minutes(30),
UnhealthyThreshold = 123
};
Synopsis
Properties
| HealthyThreshold | The number of consecutive successful health checks that must occur before declaring listener healthy. |
| Interval | The time period between each health check execution. |
| Timeout | The amount of time to wait when receiving a response from the health check. |
| UnhealthyThreshold | The number of consecutive failed health checks that must occur before declaring a listener unhealthy. |
Properties
HealthyThreshold
The number of consecutive successful health checks that must occur before declaring listener healthy.
double? HealthyThreshold { get; }
Property Value
Remarks
Default: 2
Interval
The time period between each health check execution.
Duration? Interval { get; }
Property Value
Remarks
Default: Duration.seconds(5)
Timeout
The amount of time to wait when receiving a response from the health check.
Duration? Timeout { get; }
Property Value
Remarks
Default: Duration.seconds(2)
UnhealthyThreshold
The number of consecutive failed health checks that must occur before declaring a listener unhealthy.
double? UnhealthyThreshold { get; }
Property Value
Remarks
Default: - 2