This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::Service MetricConfiguration
The configuration for a specific set of metrics to collect for a service.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "MetricNames" :[ String, ... ], "ResolutionSeconds" :Integer}
YAML
MetricNames:- StringResolutionSeconds:Integer
Properties
MetricNames-
The list of metric names to configure. The supported metric names are
CPUUtilizationandMemoryUtilization.Required: Yes
Type: Array of String
Allowed values:
CPUUtilization | MemoryUtilizationMinimum:
1Maximum:
2Update requires: No interruption
ResolutionSeconds-
The resolution, in seconds, at which to collect the metrics. The valid values are
20and60.Required: Yes
Type: Integer
Allowed values:
20 | 60Update requires: No interruption