# IngressPathType

- Kind: `enum`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.4.0-preview.1.26281.18`
- Namespace: `Aspire.Hosting.Kubernetes`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/Annotations/IngressPathType.cs)

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

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes;

public enum IngressPathType
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Prefix | 0 | 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. |
| Exact | 1 | Matches the URL path exactly and with case sensitivity. |
| ImplementationSpecific | 2 | Matching is delegated to the ingress controller. Check the controller's documentation for the supported matching semantics. |
