Interface IWidget
A single dashboard widget.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IWidget
Syntax (vb)
Public Interface IWidget
Synopsis
Properties
Height | The amount of vertical grid units the widget will take up. |
Warnings | (deprecated) Any warnings that are produced as a result of putting together this widget. |
WarningsV2 | Any warnings that are produced as a result of putting together this widget. |
Width | The amount of horizontal grid units the widget will take up. |
Methods
Position(Double, Double) | Place the widget at a given position. |
ToJson() | Return the widget JSON for use in the dashboard. |
Properties
Height
The amount of vertical grid units the widget will take up.
double Height { get; }
Property Value
System.Double
Warnings
(deprecated) Any warnings that are produced as a result of putting together this widget.
virtual string[] Warnings { get; }
Property Value
System.String[]
Remarks
Stability: Deprecated
WarningsV2
Any warnings that are produced as a result of putting together this widget.
virtual IDictionary<string, string> WarningsV2 { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Width
The amount of horizontal grid units the widget will take up.
double Width { get; }
Property Value
System.Double
Methods
Position(Double, Double)
Place the widget at a given position.
void Position(double x, double y)
Parameters
- x System.Double
- y System.Double
ToJson()
Return the widget JSON for use in the dashboard.
object[] ToJson()
Returns
System.Object[]