# LimitsPerLabelSetEntryProperty

This structure contains the limits that apply to time series that match one label set.

- Source: Generated at build time
- Type last changed: v2.191.0 · 23 Apr 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const limitsPerLabelSetEntryProperty: aps.CfnWorkspace.LimitsPerLabelSetEntryProperty = {
  maxSeries: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aps as aps

limits_per_label_set_entry_property = aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
    max_series=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aps.*;

LimitsPerLabelSetEntryProperty limitsPerLabelSetEntryProperty = LimitsPerLabelSetEntryProperty.builder()
        .maxSeries(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;

var limitsPerLabelSetEntryProperty = new LimitsPerLabelSetEntryProperty {
    MaxSeries = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

limitsPerLabelSetEntryProperty := &LimitsPerLabelSetEntryProperty{
	MaxSeries: jsii.Number(123),
}
```

## Properties

- `maxSeries`: number — The maximum number of active series that can be ingested that match this label set.

  Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed Service for Prometheus to vend label set metrics to CloudWatch
