GraphWidgetView

class aws_cdk.aws_cloudwatch.GraphWidgetView(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Types of view.

ExampleMetadata:

infused

Example:

# dashboard: cloudwatch.Dashboard


dashboard.add_widgets(cloudwatch.GraphWidget(
    # ...

    view=cloudwatch.GraphWidgetView.BAR
))

Attributes

BAR

Display as a bar graph.

PIE

Display as a pie graph.

TIME_SERIES

Display as a line graph.