# 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/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

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.
