Interface CfnTopicRule.ICloudwatchAlarmActionProperty
Describes an action that updates a CloudWatch alarm.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICloudwatchAlarmActionProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AlarmName
The CloudWatch alarm name.
string AlarmName { get; }
Property Value
System.String
Remarks
RoleArn
The IAM role that allows access to the CloudWatch alarm.
string RoleArn { get; }
Property Value
System.String
Remarks
StateReason
The reason for the alarm change.
string StateReason { get; }
Property Value
System.String
Remarks
StateValue
The value of the alarm state.
string StateValue { get; }
Property Value
System.String
Remarks
Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.