@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.313Z") @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 © 2023. All rights reserved.