Show / Hide Table of Contents

Class AlarmState

Enumeration indicates state of Alarm used in building Alarm Rule.

Inheritance
System.Object
AlarmState
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public sealed class AlarmState : Enum
Syntax (vb)
Public NotInheritable Class AlarmState
    Inherits

     Enum
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.

value__

Fields

ALARM

State indicates resource is in ALARM.

public const AlarmState ALARM
Field Value
Type Description
AlarmState

INSUFFICIENT_DATA

State indicates there is not enough data to determine is resource is in ALARM.

public const AlarmState INSUFFICIENT_DATA
Field Value
Type Description
AlarmState

OK

State indicates resource is not in ALARM.

public const AlarmState OK
Field Value
Type Description
AlarmState

value__

public int value__
Field Value
Type Description
System.Int32
Back to top Generated by DocFX