This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CloudTrail::Dashboard Widget
Contains information about a widget on a CloudTrail Lake dashboard.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "QueryParameters" :[ String, ... ], "QueryStatement" :String, "ViewProperties" :{}Key:Value, ...}
YAML
QueryParameters:- StringQueryStatement:StringViewProperties: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:
1Maximum:
10Update 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.
NoteWhen a query uses
?witheventTime,?must be surrounded by single quotes as follows:'?'.Required: Yes
Type: String
Pattern:
(?s).*Minimum:
1Maximum:
10000Update requires: No interruption
ViewProperties-
The view properties for the widget. For more information about view properties, see View properties for widgets in the Amazon CloudTrail User Guide.
Required: No
Type: Object of String
Pattern:
^[a-zA-Z0-9._-]{3,128}$Minimum:
1Maximum:
128Update requires: No interruption