Interface CfnDashboardPropsMixin.WidgetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboardPropsMixin.WidgetProperty.Jsii$Proxy
- Enclosing class:
CfnDashboardPropsMixin
@Stability(Stable)
public static interface CfnDashboardPropsMixin.WidgetProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about a widget on a CloudTrail Lake dashboard.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.*;
WidgetProperty widgetProperty = WidgetProperty.builder()
.queryParameters(List.of("queryParameters"))
.queryStatement("queryStatement")
.viewProperties(Map.of(
"viewPropertiesKey", "viewProperties"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboardPropsMixin.WidgetPropertystatic final classAn implementation forCfnDashboardPropsMixin.WidgetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueryParameters
The optional query parameters.The following query parameters are valid:
$StartTime$,$EndTime$, and$Period$.- See Also:
-
getQueryStatement
The query statement for the widget.For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.
When a query uses
?witheventTime,?must be surrounded by single quotes as follows:'?'.- See Also:
-
getViewProperties
The view properties for the widget.For more information about view properties, see View properties for widgets in the AWS CloudTrail User Guide .
Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
builder
-