TextWidgetProps Struct
Properties for a Text widget.
Example
ts
declare const dashboard: cloudwatch.Dashboard;
dashboard.addWidgets(new cloudwatch.TextWidget({
markdown: '# Key Performance Indicators'
}));
Properties
backgroundoptionalTextWidgetBackgroundbackgroundoptionalTextWidgetBackgroundbackgroundoptionalTextWidgetBackgroundBackgroundoptionalTextWidgetBackgroundBackgroundoptionalTextWidgetBackground= solid#Background for the widget.
heightoptionalnumberheightoptionalint | floatheightoptionalNumberHeightoptionaldoubleHeightoptional*float64= 2#Height of the widget.
The text to display, in MarkDown format.
widthoptionalnumberwidthoptionalint | floatwidthoptionalNumberWidthoptionaldoubleWidthoptional*float64= 6#Width of the widget, in a grid of 24 units wide.