Interface CfnWorkspacePropsMixin.LabelProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspacePropsMixin.LabelProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspacePropsMixin
@Stability(Stable)
public static interface CfnWorkspacePropsMixin.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.cfnpropertymixins.services.aps.*;
LabelProperty labelProperty = LabelProperty.builder()
.name("name")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspacePropsMixin.LabelPropertystatic final classAn implementation forCfnWorkspacePropsMixin.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
-