# HttpRouteHeaderMatchV1 Properties

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

Defines a header match condition for an HTTPRoute rule.

## Name

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

Gets or sets the header name.

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

## Type

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

Gets or sets the match type. Values: `"Exact"`, `"RegularExpression"`.

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

## Value

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

Gets or sets the header value to match.

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