# YarpHealthCheckConfig

- 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 health check configuration for a YARP cluster.

## Definition

```go
type YarpHealthCheckConfig struct {
    Active                      *YarpActiveHealthCheckConfig  `json:"Active"`
    AvailableDestinationsPolicy *string                       `json:"AvailableDestinationsPolicy"`
    Passive                     *YarpPassiveHealthCheckConfig `json:"Passive"`
}
```

## Fields

- `Active`: [`*YarpActiveHealthCheckConfig`](/reference/api/go/aspire.hosting.yarp/yarpactivehealthcheckconfig.md) -- Gets or sets the active health check configuration.
- `AvailableDestinationsPolicy`: `*string` -- Gets or sets the available destinations policy.
- `Passive`: [`*YarpPassiveHealthCheckConfig`](/reference/api/go/aspire.hosting.yarp/yarppassivehealthcheckconfig.md) -- Gets or sets the passive health check configuration.
