Spacer

class aws_cdk.aws_cloudwatch.Spacer(*, height=None, width=None)

Bases: object

A widget that doesn’t display anything but takes up space.

__init__(*, height=None, width=None)
Parameters
  • props

  • height (Union[int, float, None]) – Height of the spacer. Default: : 1

  • width (Union[int, float, None]) – Width of the spacer. Default: 1

Return type

None

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.

Return type

Union[int, float]

width

The amount of horizontal grid units the widget will take up.

Return type

Union[int, float]