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 AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery property type.

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.applicationautoscaling.*;
 TargetTrackingMetricStatProperty targetTrackingMetricStatProperty = TargetTrackingMetricStatProperty.builder()
         .metric(TargetTrackingMetricProperty.builder()
                 .dimensions(List.of(TargetTrackingMetricDimensionProperty.builder()
                         .name("name")
                         .value("value")
                         .build()))
                 .metricName("metricName")
                 .namespace("namespace")
                 .build())
         .stat("stat")
         .unit("unit")
         .build();
 

See Also: