Enum AlarmState
Enumeration indicates state of Alarm used in building Alarm Rule.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum AlarmState
Syntax (vb)
Public Enum AlarmState
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
Alarm errorAlarm;
dashboard.AddWidgets(new AlarmStatusWidget(new AlarmStatusWidgetProps {
Title = "Errors",
Alarms = new [] { errorAlarm },
SortBy = AlarmStatusWidgetSortBy.STATE_UPDATED_TIMESTAMP,
States = new [] { AlarmState.ALARM }
}));
Synopsis
Fields
| ALARM | State indicates resource is in ALARM. |
| INSUFFICIENT_DATA | State indicates there is not enough data to determine is resource is in ALARM. |
| OK | State indicates resource is not in ALARM. |
Fields
| Name | Description |
|---|---|
| ALARM | State indicates resource is in ALARM. |
| INSUFFICIENT_DATA | State indicates there is not enough data to determine is resource is in ALARM. |
| OK | State indicates resource is not in ALARM. |