AWS::CloudTrail::Dashboard Widget
Contains information about a widget on a CloudTrail Lake dashboard.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "QueryParameters" :
[ String, ... ]
, "QueryStatement" :String
, "ViewProperties" :{
}Key
:Value
, ...}
YAML
QueryParameters:
- String
QueryStatement:String
ViewProperties:
Key
:Value
Properties
QueryParameters
-
The optional query parameters. The following query parameters are valid:
$StartTime$
,$EndTime$
, and$Period$
.Required: No
Type: Array of String
Minimum:
1
Maximum:
10
Update requires: No interruption
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.
Note
When a query uses
?
witheventTime
,?
must be surrounded by single quotes as follows:'?'
.Required: Yes
Type: String
Pattern:
(?s).*
Minimum:
1
Maximum:
10000
Update requires: No interruption
ViewProperties
-
The view properties for the widget. For more information about view properties, see View properties for widgets in the AWS CloudTrail User Guide.
Required: No
Type: Object of String
Pattern:
^[a-zA-Z0-9._-]{3,128}$
Minimum:
1
Maximum:
128
Update requires: No interruption