IWidget
- class aws_cdk.aws_cloudwatch.IWidget(*args, **kwds)
Bases:
Protocol
A single dashboard widget.
Methods
- position(x, y)
Place the widget at a given position.
- Parameters:
x (
Union
[int
,float
]) –y (
Union
[int
,float
]) –
- Return type:
None
- to_json()
Return the widget JSON for use in the dashboard.
- Return type:
List
[Any
]
Attributes
- 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.