# IngressPathType

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

Specifies the type of path matching used in a Kubernetes Ingress rule.

## Definition

```go
type IngressPathType string

const (
    IngressPathTypePrefix                 IngressPathType = "Prefix"
    IngressPathTypeExact                  IngressPathType = "Exact"
    IngressPathTypeImplementationSpecific IngressPathType = "ImplementationSpecific"
)
```

## Values

- `IngressPathTypePrefix` = `"Prefix"` -- Matches based on a URL path prefix split by `/`. Matching is case-sensitive and done element-by-element. For example, `/api` matches `/api`, `/api/`, and `/api/v1` but not `/apiv1`.
- `IngressPathTypeExact` = `"Exact"` -- Matches the URL path exactly and with case sensitivity.
- `IngressPathTypeImplementationSpecific` = `"ImplementationSpecific"` -- Matching is delegated to the ingress controller. Check the controller's documentation for the supported matching semantics.
