Skip to content

IdleUtilizationMetric

Source code in docs_src/capo_compute_optimizer/types/idle_utilization_metric.py
class IdleUtilizationMetric(TypedDict, closed=True):
    name: NotRequired["capo_compute_optimizer.types.idle_metric_name.IdleMetricName"]
    """<p>The name of the utilization metric.</p>"""
    statistic: NotRequired[
        "capo_compute_optimizer.types.metric_statistic.MetricStatistic"
    ]
    """<p> The statistic of the utilization metric. </p> <p>The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the <code>Maximum</code> statistic, which is the highest value observed during the specified period.</p> <p>The Compute Optimizer console displays graphs for some utilization metrics using the <code>Average</code> statistic, which is the value of <code>Sum</code> / <code>SampleCount</code> during the specified period. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html">Viewing resource recommendations</a> in the <i>Compute Optimizer User Guide</i>. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html">Amazon CloudWatch User Guide</a>.</p>"""
    value: "capo_compute_optimizer.types.metric_value.MetricValue"
    """<p>The value of the utilization metric.</p>"""
    dimensions: NotRequired[
        "capo_compute_optimizer.types.idle_dimensions.IdleDimensions"
    ]
    """<p>The dimensions of the utilization metric.</p>"""

dimensions instance-attribute

dimensions: NotRequired[IdleDimensions]

The dimensions of the utilization metric.

name instance-attribute

name: NotRequired[IdleMetricName]

The name of the utilization metric.

statistic instance-attribute

statistic: NotRequired[MetricStatistic]

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

value instance-attribute

value: MetricValue

The value of the utilization metric.