AWSIoTCloudwatchMetricAction

Objective-C

@interface AWSIoTCloudwatchMetricAction

Swift

class AWSIoTCloudwatchMetricAction

Describes an action that captures a CloudWatch metric.

Required parameters: [roleArn, metricNamespace, metricName, metricValue, metricUnit]

  • The CloudWatch metric name.

    Declaration

    Objective-C

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

    Swift

    var metricName: String? { get set }
  • The CloudWatch metric namespace name.

    Declaration

    Objective-C

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

    Swift

    var metricNamespace: String? { get set }
  • An optional Unix timestamp.

    Declaration

    Objective-C

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

    Swift

    var metricTimestamp: String? { get set }
  • The metric unit supported by CloudWatch.

    Declaration

    Objective-C

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

    Swift

    var metricUnit: String? { get set }
  • The CloudWatch metric value.

    Declaration

    Objective-C

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

    Swift

    var metricValue: String? { get set }
  • The IAM role that allows access to the CloudWatch metric.

    Declaration

    Objective-C

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

    Swift

    var roleArn: String? { get set }