@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.259Z") @Stability(value=Stable) public class LogQueryWidget extends ConcreteWidget
Example:
Dashboard dashboard;
dashboard.addWidgets(LogQueryWidget.Builder.create()
.logGroupNames(List.of("my-log-group"))
.view(LogQueryVisualizationType.TABLE)
// The lines will be automatically combined using '\n|'.
.queryLines(List.of("fields @message", "filter @message like /Error/"))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
LogQueryWidget.Builder
A fluent builder for
LogQueryWidget. |
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
LogQueryWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LogQueryWidget(software.amazon.jsii.JsiiObjectRef objRef) |
|
LogQueryWidget(LogQueryWidgetProps props) |
| 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 LogQueryWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected LogQueryWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public LogQueryWidget(@NotNull
LogQueryWidgetProps props)
props - This parameter is required.Copyright © 2022. All rights reserved.