Interface IWidget
A single dashboard widget.
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.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 | 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
Any warnings that are produced as a result of putting together this widget.
virtual string[] Warnings { get; }
  Property Value
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[]