# YarpActiveHealthCheckConfig

- Module: [Aspire.Hosting.Yarp](/reference/api/go/aspire.hosting.yarp.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents active health check configuration for a YARP cluster.

## Definition

```go
type YarpActiveHealthCheckConfig struct {
    Enabled  *bool    `json:"Enabled"`
    Interval *float64 `json:"Interval"`
    Path     *string  `json:"Path"`
    Policy   *string  `json:"Policy"`
    Query    *string  `json:"Query"`
    Timeout  *float64 `json:"Timeout"`
}
```

## Fields

- `Enabled`: `*bool` `optional` -- Gets or sets a value indicating whether active health checks are enabled.
- `Interval`: `*float64` `optional` -- Gets or sets the health check interval.
- `Path`: `*string` -- Gets or sets the health check path.
- `Policy`: `*string` -- Gets or sets the health check policy.
- `Query`: `*string` -- Gets or sets the health check query string.
- `Timeout`: `*float64` `optional` -- Gets or sets the health check timeout.
