Skip to content

ECSServiceProjectedMetric

Source code in docs_src/capo_compute_optimizer/types/ecs_service_projected_metric.py
class ECSServiceProjectedMetric(TypedDict, closed=True):
    name: NotRequired[
        "capo_compute_optimizer.types.ecs_service_metric_name.ECSServiceMetricName"
    ]
    """<p> The name of the projected metric. </p> <p>The following metrics are available:</p> <ul> <li> <p> <code>Cpu</code> — The percentage of allocated compute units that are currently in use on the service tasks.</p> </li> <li> <p> <code>Memory</code> — The percentage of memory that's currently in use on the service tasks.</p> </li> </ul>"""
    timestamps: NotRequired["capo_compute_optimizer.types.timestamps.Timestamps"]
    """<p> The timestamps of the projected metric. </p>"""
    upper_bound_values: NotRequired[
        "capo_compute_optimizer.types.metric_values.MetricValues"
    ]
    """<p> The upper bound values for the projected metric. </p>"""
    lower_bound_values: NotRequired[
        "capo_compute_optimizer.types.metric_values.MetricValues"
    ]
    """<p> The lower bound values for the projected metric. </p>"""

lower_bound_values instance-attribute

lower_bound_values: NotRequired[MetricValues]

The lower bound values for the projected metric.

name instance-attribute

name: NotRequired[ECSServiceMetricName]

The name of the projected metric.

The following metrics are available:

  • Cpu — The percentage of allocated compute units that are currently in use on the service tasks.

  • Memory — The percentage of memory that's currently in use on the service tasks.

timestamps instance-attribute

timestamps: NotRequired[Timestamps]

The timestamps of the projected metric.

upper_bound_values instance-attribute

upper_bound_values: NotRequired[MetricValues]

The upper bound values for the projected metric.