IMetric

class aws_cdk.aws_cloudwatch.IMetric(*args, **kwargs)

Bases: Protocol

Interface for metrics.

Methods

to_metric_config()

Inspect the details of the metric object.

Return type:

MetricConfig

Attributes

warnings

(deprecated) Any warnings related to this metric.

Should be attached to the consuming construct.

Default:
  • None

Deprecated:
  • use warningsV2

Stability:

deprecated

warnings_v2

Any warnings related to this metric.

Should be attached to the consuming construct.

Default:
  • None