LimitsPerLabelSetEntryProperty Struct
This structure contains the limits that apply to time series that match one label set.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
};
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
maxSeriesoptionalnumbermax_seriesoptionalint | floatmaxSeriesoptionalNumberMaxSeriesoptionaldoubleMaxSeriesoptional*float64 #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