# HttpRouteMatchV1 Properties

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

Defines match conditions for an HTTPRoute rule.

## Headers

- Name: `Headers`
- Modifiers: `get`
- Returns: [List<HttpRouteHeaderMatchV1>](/reference/api/csharp/aspire.hosting.kubernetes/httprouteheadermatchv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HttpRouteV1.cs#L97)

Gets the header match conditions.

```csharp
public List<HttpRouteHeaderMatchV1> Headers { get; }
```

## Path

- Name: `Path`
- Modifiers: `nullable` `get; set`
- Returns: [HttpRoutePathMatchV1?](/reference/api/csharp/aspire.hosting.kubernetes/httproutepathmatchv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/HttpRouteV1.cs)

Gets or sets the path match condition.

```csharp
public HttpRoutePathMatchV1? Path { get; set; }
```
