Interface CfnAnomalyDetector.MetricProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnomalyDetector.MetricProperty.Jsii$Proxy
Enclosing class:
CfnAnomalyDetector

@Stability(Stable) public static interface CfnAnomalyDetector.MetricProperty extends software.amazon.jsii.JsiiSerializable
Represents a specific metric.

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.*;
 MetricProperty metricProperty = MetricProperty.builder()
         .metricName("metricName")
         .namespace("namespace")
         // the properties below are optional
         .dimensions(List.of(DimensionProperty.builder()
                 .name("name")
                 .value("value")
                 .build()))
         .build();
 

See Also: