AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an action that updates a CloudWatch alarm.

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.CloudwatchAlarmAction

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class CloudwatchAlarmAction

The CloudwatchAlarmAction type exposes the following members

Constructors

NameDescription
Public Method CloudwatchAlarmAction()

Properties

NameTypeDescription
Public Property AlarmName System.String

Gets and sets the property AlarmName.

The CloudWatch alarm name.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The IAM role that allows access to the CloudWatch alarm.

Public Property StateReason System.String

Gets and sets the property StateReason.

The reason for the alarm change.

Public Property StateValue System.String

Gets and sets the property StateValue.

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5