Class CfnTopicRule.CloudwatchAlarmActionProperty
Describes an action that updates a CloudWatch alarm.
Inheritance
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
Cloudwatch |
Properties
Alarm |
The CloudWatch alarm name. |
Role |
The IAM role that allows access to the CloudWatch alarm. |
State |
The reason for the alarm change. |
State |
The value of the alarm state. |
Constructors
CloudwatchAlarmActionProperty()
public CloudwatchAlarmActionProperty()
Properties
AlarmName
The CloudWatch alarm name.
public string AlarmName { get; set; }
Property Value
System.
Remarks
RoleArn
The IAM role that allows access to the CloudWatch alarm.
public string RoleArn { get; set; }
Property Value
System.
Remarks
StateReason
The reason for the alarm change.
public string StateReason { get; set; }
Property Value
System.
Remarks
StateValue
The value of the alarm state.
public string StateValue { get; set; }
Property Value
System.
Remarks
Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.