Interface CfnWorkspacePropsMixin.LimitsPerLabelSetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspacePropsMixin
@Stability(Stable)
public static interface CfnWorkspacePropsMixin.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.cfnpropertymixins.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 classA builder forCfnWorkspacePropsMixin.LimitsPerLabelSetPropertystatic final classAn implementation forCfnWorkspacePropsMixin.LimitsPerLabelSetProperty -
Method Summary
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_:]*Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspacePropsMixin.LabelProperty>- See Also:
-
getLimits
This structure contains the information about the limits that apply to time series that match this label set.Returns union: either
IResolvableorCfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty- See Also:
-
builder
-