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
Warnings
(deprecated) Any warnings that are produced as a result of putting together this widget.
[Obsolete("- use warningsV2")]
string[]? Warnings { get; }
Property Value
string[]
Remarks
Stability: Deprecated
WarningsV2
Any warnings that are produced as a result of putting together this widget.
IDictionary<string, string>? WarningsV2 { get; }
Property Value
Width
The amount of horizontal grid units the widget will take up.
double Width { get; }
Property Value
Methods
Position(double, double)
Place the widget at a given position.
void Position(double x, double y)