Class HealthCheckCustomConfig
Specifies information about an optional custom health check.
Inheritance
System.Object
HealthCheckCustomConfig
Implements
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HealthCheckCustomConfig : Object, IHealthCheckCustomConfig
Syntax (vb)
Public Class HealthCheckCustomConfig
Inherits Object
Implements IHealthCheckCustomConfig
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.AWS.ServiceDiscovery;
var healthCheckCustomConfig = new HealthCheckCustomConfig {
FailureThreshold = 123
};
Synopsis
Constructors
HealthCheckCustomConfig() |
Properties
FailureThreshold | The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance. |
Constructors
HealthCheckCustomConfig()
public HealthCheckCustomConfig()
Properties
FailureThreshold
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.
public Nullable<double> FailureThreshold { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 1