Class: Aws::CloudWatch::Types::ResourceMetricSelection

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#include_metrics ⇒ Array<String>

The names of the metrics to collect for the resource. Amazon CloudWatch collects only the metrics that you list here.

Returns:

  • (Array<String>)


5803
5804
5805
5806
5807
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 5803

class ResourceMetricSelection < Struct.new(
  :include_metrics)
  SENSITIVE = []
  include Aws::Structure
end