IMetric
- class aws_cdk.aws_cloudwatch.IMetric(*args, **kwds)
Bases:
Protocol
Interface for metrics.
Methods
- to_alarm_config()
(deprecated) Turn this metric object into an alarm configuration.
- Deprecated:
Use
toMetricConfig()
instead.- Stability:
deprecated
- Return type:
- to_graph_config()
(deprecated) Turn this metric object into a graph configuration.
- Deprecated:
Use
toMetricConfig()
instead.- Stability:
deprecated
- Return type:
- to_metric_config()
Inspect the details of the metric object.
- Return type:
Attributes
- warnings
Any warnings related to this metric.
Should be attached to the consuming construct.
- Default:
None