# LabelSelector

`import { LabelSelector } from "destack:topology";`

Topology label selector.

```ds title="LabelSelector"
export struct LabelSelector {
    key: string;
    value: string;
}
```

[language/library/src/topology/label.ds:5:10](https://github.com/destack-sh/destack/blob/main/language/library/src/topology/label.ds#L5-L10)

## Members

### `key: string`

Label key to match.

### `value: string`

Optional exact value match.
