GraphWidgetView

class aws_cdk.aws_cloudwatch.GraphWidgetView(value)

Bases: enum.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.