Class AlarmStatusWidget
A dashboard widget that displays alarms in a grid view.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class AlarmStatusWidget : ConcreteWidget, IWidget
Syntax (vb)
Public Class AlarmStatusWidget
Inherits ConcreteWidget
Implements IWidget
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
Alarm errorAlarm;
dashboard.AddWidgets(
new AlarmStatusWidget(new AlarmStatusWidgetProps {
Alarms = new [] { errorAlarm }
}));
Synopsis
Constructors
AlarmStatusWidget(IAlarmStatusWidgetProps) | |
AlarmStatusWidget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AlarmStatusWidget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Position(Double, Double) | Place the widget at a given position. |
ToJson() | Return the widget JSON for use in the dashboard. |
Constructors
AlarmStatusWidget(IAlarmStatusWidgetProps)
AlarmStatusWidget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AlarmStatusWidget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AlarmStatusWidget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AlarmStatusWidget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Position(Double, Double)
Place the widget at a given position.
public override void Position(double x, double y)
Parameters
- x System.Double
- y System.Double
Overrides
ToJson()
Return the widget JSON for use in the dashboard.
public override object[] ToJson()
Returns
System.Object[]