View a markdown version of this page

AWS::CloudWatch::ResourceMetricsConfiguration ResourceMetricSelection - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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 | 1

Maximum: 255 | 500

Update requires: No interruption