MetricExpressionConfig

class aws_cdk.aws_cloudwatch.MetricExpressionConfig(*, expression, period, using_metrics)

Bases: object

Properties for a concrete metric.

Parameters
  • expression (str) – Math expression for the metric.

  • period (Union[int, float]) – How many seconds to aggregate over.

  • using_metrics (Mapping[str, IMetric]) – Metrics used in the math expression.

Attributes

expression

Math expression for the metric.

Return type

str

period

How many seconds to aggregate over.

Return type

Union[int, float]

using_metrics

Metrics used in the math expression.

Return type

Mapping[str, IMetric]