# ClusterLifetime

- Module: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/typescript/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.5.1-beta.895`
- Kind: `enum`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/2c26a4c9649531d17fce3cbc4c5dea00d61d279c)

Specifies the lifetime behavior of a Kind cluster relative to the AppHost session.

## Definition

```typescript
enum ClusterLifetime {
  Session = 0,
  Persistent = 1,
}
```

## Values

- `Session` = `0`
- `Persistent` = `1`
