TextWidgetProps

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

Bases: object

__init__(*, markdown, height=None, width=None)

Properties for a Text widget.

Parameters
  • markdown (str) – The text to display, in MarkDown format.

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

  • width (Union[int, float, None]) – Width of the widget, in a grid of 24 units wide. Default: 6

Attributes

height

Height of the widget.

default :default: 2

Return type

Union[int, float, None]

markdown

The text to display, in MarkDown format.

Return type

str

width

Width of the widget, in a grid of 24 units wide.

default :default: 6

Return type

Union[int, float, None]