MathExpressionOptions

class aws_cdk.aws_cloudwatch.MathExpressionOptions(*, color=None, label=None, period=None)

Bases: object

Configurable options for MathExpressions.

Parameters
  • color (Optional[str]) – Color for this metric when added to a Graph in a Dashboard. Default: - Automatic color

  • label (Optional[str]) – Label for this metric when added to a Graph in a Dashboard. Default: - Expression value is used as label

  • period (Optional[Duration]) – The period over which the expression’s statistics are applied. This period overrides all periods in the metrics used in this math expression. Default: Duration.minutes(5)

Attributes

color

Color for this metric when added to a Graph in a Dashboard.

Default
  • Automatic color

Return type

Optional[str]

label

Label for this metric when added to a Graph in a Dashboard.

Default
  • Expression value is used as label

Return type

Optional[str]

period

The period over which the expression’s statistics are applied.

This period overrides all periods in the metrics used in this math expression.

Default

Duration.minutes(5)

Return type

Optional[Duration]