AWSAutoScalingTargetTrackingMetricStat

Objective-C

@interface AWSAutoScalingTargetTrackingMetricStat

Swift

class AWSAutoScalingTargetTrackingMetricStat

This structure defines the CloudWatch metric to return, along with the statistic and unit.

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

Required parameters: [Metric, Stat]

  • The metric to use.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSAutoScalingMetric *_Nullable metric;

    Swift

    var metric: AWSAutoScalingMetric? { get set }
  • The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

    The most commonly used metric for scaling is Average.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable stat;

    Swift

    var stat: String? { get set }
  • The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable unit;

    Swift

    var unit: String? { get set }