RequestWidget
Contains information about a widget on a CloudTrail Lake dashboard.
Contents
- QueryStatement
-
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.
NoteWhen a query uses
?witheventTime,?must be surrounded by single quotes as follows:'?'.Type: String
Length Constraints: Minimum length of 1. Maximum length of 10000.
Pattern:
(?s).*Required: Yes
- ViewProperties
-
The view properties for the widget. For more information about view properties, see View properties for widgets in the AWS CloudTrail User Guide.
Type: String to string map
Key Length Constraints: Minimum length of 3. Maximum length of 128.
Key Pattern:
^[a-zA-Z0-9._\-]+$Value Length Constraints: Minimum length of 1. Maximum length of 128.
Value Pattern:
^[a-zA-Z0-9._\- ]+$Required: Yes
- QueryParameters
-
The optional query parameters. The following query parameters are valid:
$StartTime$,$EndTime$, and$Period$.Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: