# HealthCheckCustomConfig

Specifies information about an optional custom health check.

- Source: [`aws-servicediscovery/lib/service.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-servicediscovery/lib/service.ts#L440)

## 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

- `failureThreshold`: number = 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.
