@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.268Z") @Stability(value=Stable) public interface TextWidgetProps extends software.amazon.jsii.JsiiSerializable
Example:
Dashboard dashboard;
dashboard.addWidgets(TextWidget.Builder.create()
.markdown("# Key Performance Indicators")
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
TextWidgetProps.Builder
A builder for
TextWidgetProps |
static class |
TextWidgetProps.Jsii$Proxy
An implementation for
TextWidgetProps |
| Modifier and Type | Method and Description |
|---|---|
static TextWidgetProps.Builder |
builder() |
default Number |
getHeight()
Height of the widget.
|
String |
getMarkdown()
The text to display, in MarkDown format.
|
default Number |
getWidth()
Width of the widget, in a grid of 24 units wide.
|
@Stability(value=Stable) @NotNull String getMarkdown()
@Stability(value=Stable) @Nullable default Number getHeight()
Default: 2
@Stability(value=Stable) @Nullable default Number getWidth()
Default: 6
@Stability(value=Stable) static TextWidgetProps.Builder builder()
TextWidgetProps.Builder of TextWidgetPropsCopyright © 2022. All rights reserved.