View a markdown version of this page

MetricConfiguration - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MetricConfiguration

The configuration for a specific set of metrics to collect for a service.

Contents

metricNames

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

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

resolutionSeconds

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

Type: Integer

Valid Range: Minimum value of 20. Maximum value of 60.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: