TableSummaryProps

class aws_cdk.aws_cloudwatch.TableSummaryProps(*, columns=None, hide_non_summary_columns=None, sticky=None)

Bases: object

Properties for TableWidget’s summary columns.

Parameters:
  • columns (Optional[Sequence[TableSummaryColumn]]) – Summary columns. Default: - No summary columns will be shown

  • hide_non_summary_columns (Optional[bool]) – Prevent the columns of datapoints from being displayed, so that only the label and summary columns are displayed. Default: - false

  • sticky (Optional[bool]) – Make the summary columns sticky, so that they remain in view while scrolling. Default: - false

ExampleMetadata:

infused

Example:

# dashboard: cloudwatch.Dashboard


dashboard.add_widgets(cloudwatch.TableWidget(
    # ...

    summary=cloudwatch.TableSummaryProps(
        columns=[cloudwatch.TableSummaryColumn.AVERAGE],
        hide_non_summary_columns=True,
        sticky=True
    )
))

Attributes

columns

Summary columns.

Default:
  • No summary columns will be shown

hide_non_summary_columns

Prevent the columns of datapoints from being displayed, so that only the label and summary columns are displayed.

Default:
  • false

sticky

Make the summary columns sticky, so that they remain in view while scrolling.

Default:
  • false