ConcreteWidget

class aws_cdk.aws_cloudwatch.ConcreteWidget(width, height)

Bases: object

A real CloudWatch widget that has its own fixed size and remembers its position.

This is in contrast to other widgets which exist for layout purposes.

Parameters:
  • width (Union[int, float]) –

  • height (Union[int, float]) –

Methods

position(x, y)

Place the widget at a given position.

Parameters:
  • x (Union[int, float]) –

  • y (Union[int, float]) –

Return type:

None

abstract 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.