Skip to content

MetricConfiguration

Source code in docs_src/capo_ecs/types/metric_configuration.py
class MetricConfiguration(TypedDict, closed=True):
    metric_names: "capo_ecs.types.metric_names_list.MetricNamesList"
    """<p>The list of metric names to configure. The supported metric names are <code>CPUUtilization</code> and <code>MemoryUtilization</code>.</p>"""
    resolution_seconds: (
        "capo_ecs.types.metric_resolution_seconds.MetricResolutionSeconds"
    )
    """<p>The resolution, in seconds, at which to collect the metrics. The valid values are <code>20</code> and <code>60</code>.</p>"""

metric_names instance-attribute

metric_names: MetricNamesList

The list of metric names to configure. The supported metric names are CPUUtilization and MemoryUtilization.

resolution_seconds instance-attribute

resolution_seconds: MetricResolutionSeconds

The resolution, in seconds, at which to collect the metrics. The valid values are 20 and 60.