TableSummaryProps Struct
Properties for TableWidget's summary columns.
Example
ts
declare const dashboard: cloudwatch.Dashboard;
dashboard.addWidgets(new cloudwatch.TableWidget({
// ...
summary: {
columns: [cloudwatch.TableSummaryColumn.AVERAGE],
hideNonSummaryColumns: true,
sticky: true,
},
}));
Properties
columnsTableSummaryColumn[]columnstyping.List[TableSummaryColumn]columnsList<TableSummaryColumn>ColumnsTableSummaryColumn[]Columns*[]TableSummaryColumn= No summary columns will be shown#Summary columns.
hideNonSummaryColumnsbooleanhide_non_summary_columnsboolhideNonSummaryColumnsBooleanHideNonSummaryColumnsboolHideNonSummaryColumns*bool= false#Prevent the columns of datapoints from being displayed, so that only the label and summary columns are displayed.
Make the summary columns sticky, so that they remain in view while scrolling.