Interface IGrpcHealthCheckOptions
Properties used to define GRPC Based healthchecks.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGrpcHealthCheckOptions
Syntax (vb)
Public Interface IGrpcHealthCheckOptions
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 grpcHealthCheckOptions = new GrpcHealthCheckOptions {
HealthyThreshold = 123,
Interval = Duration.Minutes(30),
Timeout = Duration.Minutes(30),
UnhealthyThreshold = 123
};
Synopsis
Properties
Healthy |
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. |
Unhealthy |
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.
virtual Nullable<double> HealthyThreshold { get; }
Property Value
System.
Remarks
Default: 2
Interval
The time period between each health check execution.
virtual 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.
virtual 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.
virtual Nullable<double> UnhealthyThreshold { get; }
Property Value
System.
Remarks
Default: - 2