Interface CfnOTelEnrichment.OTelEnrichmentMetricSelectorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOTelEnrichment.OTelEnrichmentMetricSelectorProperty.Jsii$Proxy
- Enclosing class:
CfnOTelEnrichment
@Stability(Stable)
public static interface CfnOTelEnrichment.OTelEnrichmentMetricSelectorProperty
extends software.amazon.jsii.JsiiSerializable
Selects metrics within one namespace.
The same shape serves both the include and the exclude direction. Namespaces are compared byte-for-byte and case-sensitively; no wildcards, prefixes or normalization.
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.cloudwatch.*;
OTelEnrichmentMetricSelectorProperty oTelEnrichmentMetricSelectorProperty = OTelEnrichmentMetricSelectorProperty.builder()
.namespace("namespace")
// the properties below are optional
.metricNames(List.of("metricNames"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOTelEnrichment.OTelEnrichmentMetricSelectorPropertystatic final classAn implementation forCfnOTelEnrichment.OTelEnrichmentMetricSelectorProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Absent or empty means every metric in this namespace, in whichever direction this selector appears.The CloudWatch namespace this selector applies to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespace
The CloudWatch namespace this selector applies to.- See Also:
-
getMetricNames
Absent or empty means every metric in this namespace, in whichever direction this selector appears.Present means only these metric names.
- See Also:
-
builder
-