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:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cloudwatch as cloudwatch

# widget: cloudwatch.IWidget

row = cloudwatch.Row(widget)
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.