Skip to content

Metric

Source code in docs_src/capo_cloudwatch/types/metric.py
class Metric(TypedDict, closed=True):
    namespace: NotRequired["capo_cloudwatch.types.namespace.Namespace"]
    """<p>The namespace of the metric.</p>"""
    metric_name: NotRequired["capo_cloudwatch.types.metric_name.MetricName"]
    """<p>The name of the metric. This is a required field.</p>"""
    dimensions: NotRequired["capo_cloudwatch.types.dimensions.Dimensions"]
    """<p>The dimensions for the metric.</p>"""

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

The dimensions for the metric.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the metric. This is a required field.

namespace instance-attribute

namespace: NotRequired[Namespace]

The namespace of the metric.