@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.269Z") @Stability(value=Stable) public class CustomWidget extends ConcreteWidget
Example:
Dashboard dashboard;
// Import or create a lambda function
IFunction fn = Function.fromFunctionArn(dashboard, "Function", "arn:aws:lambda:us-east-1:123456789012:function:MyFn");
dashboard.addWidgets(CustomWidget.Builder.create()
.functionArn(fn.getFunctionArn())
.title("My lambda baked widget")
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomWidget.Builder
A fluent builder for
CustomWidget. |
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CustomWidget(CustomWidgetProps props) |
protected |
CustomWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CustomWidget(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
toJson()
Return the widget JSON for use in the dashboard.
|
copyMetricWarnings, getHeight, getWarnings, getWidth, getX, getY, position, setX, setYjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CustomWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected CustomWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CustomWidget(@NotNull
CustomWidgetProps props)
props - This parameter is required.Copyright © 2023. All rights reserved.