Interface CfnWorkspace.LabelProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.LabelProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.LabelProperty
extends software.amazon.jsii.JsiiSerializable
A label is a name:value pair used to add context to ingested metrics.
This structure defines the name and value for one label that is used in a label set. 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.
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.*;
LabelProperty labelProperty = LabelProperty.builder()
.name("name")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.LabelPropertystatic final classAn implementation forCfnWorkspace.LabelProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name for this label.- See Also:
-
getValue
The value for this label.- See Also:
-
builder
- Returns:
- a
CfnWorkspace.LabelProperty.BuilderofCfnWorkspace.LabelProperty
-