Interface CfnWorkspace.LimitsPerLabelSetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.LimitsPerLabelSetProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.LimitsPerLabelSetProperty
extends software.amazon.jsii.JsiiSerializable
This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set.
Each label name in a label set must be unique.
Example:
// 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.*; LimitsPerLabelSetProperty limitsPerLabelSetProperty = LimitsPerLabelSetProperty.builder() .labelSet(List.of(LabelProperty.builder() .name("name") .value("value") .build())) .limits(LimitsPerLabelSetEntryProperty.builder() .maxSeries(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkspace.LimitsPerLabelSetProperty
static final class
An implementation forCfnWorkspace.LimitsPerLabelSetProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
This defines one label set that will have an enforced ingestion limit.This structure contains the information about the limits that apply to time series that match this label set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLabelSet
This defines one label set that will have an enforced ingestion limit.You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.
Label values accept all UTF-8 characters with one exception. If the label name is metric name label
__ *name* __
, then the metric part of the name must conform to the following pattern:[a-zA-Z_:][a-zA-Z0-9_:]*
- See Also:
-
getLimits
This structure contains the information about the limits that apply to time series that match this label set.- See Also:
-
builder
-