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::CloudWatch::ResourceMetricsConfiguration ResourceMetricSelection
Specifies which metrics Amazon CloudWatch collects for a resource metrics configuration. Include this in a CreateResourceMetricsConfiguration or UpdateResourceMetricsConfiguration request to limit collection to a specific set of metrics. If you omit metric selections, Amazon CloudWatch collects all available detailed metrics for the resource.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "IncludeMetrics" :[ String, ... ]}
YAML
IncludeMetrics:- String
Properties
IncludeMetrics-
The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.
Required: Yes
Type: Array of String
Minimum:
1 | 1Maximum:
255 | 500Update requires: No interruption