AWSCloudWatchMetricStat

Objective-C

@interface AWSCloudWatchMetricStat

Swift

class AWSCloudWatchMetricStat

This structure defines the metric to be returned, along with the statistics, period, and units.

Required parameters: [Metric, Period, Stat]

  • The metric to return, including the metric name, namespace, and dimensions.

    Declaration

    Objective-C

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

    Swift

    var metric: AWSCloudWatchMetric? { get set }
  • The period, in seconds, to use when retrieving the metric.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable period;

    Swift

    var period: NSNumber? { get set }
  • The statistic to return. It can include any CloudWatch statistic or extended statistic.

    Declaration

    Objective-C

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

    Swift

    var stat: String? { get set }
  • The unit to use for the returned data points.

    Declaration

    Objective-C

    @property (nonatomic) AWSCloudWatchStandardUnit unit;

    Swift

    var unit: AWSCloudWatchStandardUnit { get set }