-
Notifications
You must be signed in to change notification settings - Fork 17
/
TableSummaryProps.go
36 lines (33 loc) · 1.03 KB
/
TableSummaryProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awscloudwatch
// Properties for TableWidget's summary columns.
//
// Example:
// var dashboard dashboard
//
//
// dashboard.AddWidgets(cloudwatch.NewTableWidget(&TableWidgetProps{
// // ...
//
// Summary: &TableSummaryProps{
// Columns: []tableSummaryColumn{
// cloudwatch.*tableSummaryColumn_AVERAGE,
// },
// HideNonSummaryColumns: jsii.Boolean(true),
// Sticky: jsii.Boolean(true),
// },
// }))
//
type TableSummaryProps struct {
// Summary columns.
// Default: - No summary columns will be shown.
//
Columns *[]TableSummaryColumn `field:"optional" json:"columns" yaml:"columns"`
// Prevent the columns of datapoints from being displayed, so that only the label and summary columns are displayed.
// Default: - false.
//
HideNonSummaryColumns *bool `field:"optional" json:"hideNonSummaryColumns" yaml:"hideNonSummaryColumns"`
// Make the summary columns sticky, so that they remain in view while scrolling.
// Default: - false.
//
Sticky *bool `field:"optional" json:"sticky" yaml:"sticky"`
}