Skip to content
v2.274.0

HealthCheckCustomConfig Struct ​

Specifies information about an optional custom health check.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as servicediscovery } from 'aws-cdk-lib';
const healthCheckCustomConfig: servicediscovery.HealthCheckCustomConfig = {
  failureThreshold: 123,
};

Properties ​

failureThresholdnumberfailure_thresholdint | floatfailureThresholdNumberFailureThresholddoubleFailureThreshold*float64= 1#
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.