Row
- class aws_cdk.aws_cloudwatch.Row(*widgets)
Bases:
object
A widget that contains other widgets in a horizontal row.
Widgets will be laid out next to each other
- ExampleMetadata:
infused
Example:
# widget_a: cloudwatch.IWidget # widget_b: cloudwatch.IWidget cloudwatch.Row(widget_a, widget_b)
- Parameters:
widgets (
IWidget
) –
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.
- widgets
List of contained widgets.
- width
The amount of horizontal grid units the widget will take up.