# IngressPathType

- Kind: `enum`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/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. |
