AWSIoTCloudwatchAlarmAction
Objective-C
@interface AWSIoTCloudwatchAlarmAction
Swift
class AWSIoTCloudwatchAlarmAction
Describes an action that updates a CloudWatch alarm.
Required parameters: [roleArn, alarmName, stateReason, stateValue]
-
The CloudWatch alarm name.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable alarmName;
Swift
var alarmName: String? { get set }
-
The IAM role that allows access to the CloudWatch alarm.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable roleArn;
Swift
var roleArn: String? { get set }
-
The reason for the alarm change.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable stateReason;
Swift
var stateReason: String? { get set }
-
The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable stateValue;
Swift
var stateValue: String? { get set }