Class GrpcHealthCheckOptions
Properties used to define GRPC Based healthchecks.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GrpcHealthCheckOptions : Object, IGrpcHealthCheckOptions
Syntax (vb)
Public Class GrpcHealthCheckOptions
Inherits Object
Implements 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
Constructors
GrpcHealthCheckOptions() |
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. |
Constructors
GrpcHealthCheckOptions()
public GrpcHealthCheckOptions()
Properties
HealthyThreshold
The number of consecutive successful health checks that must occur before declaring listener healthy.
public Nullable<double> HealthyThreshold { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 2
Interval
The time period between each health check execution.
public Duration Interval { get; set; }
Property Value
Remarks
Default: Duration.seconds(5)
Timeout
The amount of time to wait when receiving a response from the health check.
public Duration Timeout { get; set; }
Property Value
Remarks
Default: Duration.seconds(2)
UnhealthyThreshold
The number of consecutive failed health checks that must occur before declaring a listener unhealthy.
public Nullable<double> UnhealthyThreshold { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - 2