Interface CfnScalingPolicy.TargetTrackingMetricStatProperty

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

@Stability(Stable) public static interface CfnScalingPolicy.TargetTrackingMetricStatProperty extends software.amazon.jsii.JsiiSerializable
This structure defines the CloudWatch metric to return, along with the statistic and unit.

TargetTrackingMetricStat is a property of the TargetTrackingMetricDataQuery object.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide .

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.autoscaling.*;
 TargetTrackingMetricStatProperty targetTrackingMetricStatProperty = TargetTrackingMetricStatProperty.builder()
         .metric(MetricProperty.builder()
                 .metricName("metricName")
                 .namespace("namespace")
                 // the properties below are optional
                 .dimensions(List.of(MetricDimensionProperty.builder()
                         .name("name")
                         .value("value")
                         .build()))
                 .build())
         .stat("stat")
         // the properties below are optional
         .unit("unit")
         .build();
 

See Also: