LogQueryVisualizationType

class aws_cdk.aws_cloudwatch.LogQueryVisualizationType(value)

Bases: enum.Enum

Types of view.

Example:

# dashboard is of type Dashboard


dashboard.add_widgets(cloudwatch.LogQueryWidget(
    log_group_names=["my-log-group"],
    view=cloudwatch.LogQueryVisualizationType.TABLE,
    # The lines will be automatically combined using '
|’.

query_lines=[“fields @message”, “filter @message like /Error/” ]

))

Attributes

BAR

Bar view.

LINE

Line view.

PIE

Pie view.

STACKEDAREA

Stacked area view.

TABLE

Table view.