RequestWidget¶
Structure Class¶
RequestWidget
dataclass
¶
Contains information about a widget on a CloudTrail Lake dashboard.
Attributes¶
query_parameters
class-attribute
instance-attribute
¶
The optional query parameters. The following query parameters are valid:
$StartTime$, $EndTime$, and $Period$.
query_statement
instance-attribute
¶
query_statement: str
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.
Note
When a query uses ? with eventTime, ? must be surrounded by single
quotes as follows: '?'.
view_properties
instance-attribute
¶
The view properties for the widget. For more information about view properties, see View properties for widgets in the CloudTrail User Guide.