Class CfnTopicRule.CloudwatchAlarmActionProperty
Describes an action that updates a CloudWatch alarm.
Inheritance
System.Object
CfnTopicRule.CloudwatchAlarmActionProperty
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudwatchAlarmActionProperty : Object, CfnTopicRule.ICloudwatchAlarmActionProperty
Syntax (vb)
Public Class CloudwatchAlarmActionProperty
Inherits Object
Implements CfnTopicRule.ICloudwatchAlarmActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cloudwatchAlarmActionProperty = new CloudwatchAlarmActionProperty {
AlarmName = "alarmName",
RoleArn = "roleArn",
StateReason = "stateReason",
StateValue = "stateValue"
};
Synopsis
Constructors
CloudwatchAlarmActionProperty() |
Properties
AlarmName | The CloudWatch alarm name. |
RoleArn | The IAM role that allows access to the CloudWatch alarm. |
StateReason | The reason for the alarm change. |
StateValue | The value of the alarm state. |
Constructors
CloudwatchAlarmActionProperty()
public CloudwatchAlarmActionProperty()
Properties
AlarmName
The CloudWatch alarm name.
public string AlarmName { get; set; }
Property Value
System.String
Remarks
RoleArn
The IAM role that allows access to the CloudWatch alarm.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
StateReason
The reason for the alarm change.
public string StateReason { get; set; }
Property Value
System.String
Remarks
StateValue
The value of the alarm state.
public string StateValue { get; set; }
Property Value
System.String
Remarks
Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.