# HttpIngressPathV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [HttpIngressPathV1](/reference/api/csharp/aspire.hosting.kubernetes/httpingresspathv1.md)
- Kind: `Properties`
- Members: `3`

Represents a path in an HTTP ingress rule for Kubernetes ingress resources.

## Backend

- Name: `Backend`
- Modifiers: `get; set`
- Returns: [IngressBackendV1](/reference/api/csharp/aspire.hosting.kubernetes/ingressbackendv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HTTPIngressPathV1.cs)

Represents the backend configuration for a specific path of an HTTP ingress. This property defines the backend service or resource to which the traffic will be forwarded. The `Backend` object can reference either a service (specified with `IngressServiceBackendV1`) or a resource (specified with `TypedLocalObjectReferenceV1`) to handle the incoming requests.

```csharp
public IngressBackendV1 Backend { get; set; }
```

## Path

- Name: `Path`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HTTPIngressPathV1.cs)

Gets or sets the path that the Ingress matches against incoming requests. The value should specify a valid URI path which determines where the routing rules apply.

```csharp
public string Path { get; set; }
```

## PathType

- Name: `PathType`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HTTPIngressPathV1.cs)

Gets or sets the type of path used in the ingress rule. Indicates the interpretation of the path such as Exact, Prefix, or ImplementationSpecific.

```csharp
public string PathType { get; set; }
```
