# AggregationRuleV1 Properties

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

Represents an aggregation rule for ClusterRoles in a Kubernetes environment. Aggregation rules allow defining how to aggregate multiple cluster roles for easier role-based access control (RBAC) management.

## ClusterRoleSelectors

- Name: `ClusterRoleSelectors`
- Modifiers: `get`
- Returns: [List<LabelSelectorV1>](/reference/api/csharp/aspire.hosting.kubernetes/labelselectorv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/AggregationRuleV1.cs#L22)

Represents a collection of label selectors used to specify the aggregation behavior for cluster roles. Each label selector in the collection defines criteria to match certain cluster roles, allowing aggregation of permissions across multiple roles.

```csharp
public List<LabelSelectorV1> ClusterRoleSelectors { get; }
```
