Class: Aws::CloudWatch::Types::UpdateResourceMetricsConfigurationInput

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

Overview

Specifies the resource ARN and optional replacement metric selections for an UpdateResourceMetricsConfiguration request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_selections ⇒ Array<Types::ResourceMetricSelection>

Specifies which metrics Amazon CloudWatch collects for the resource. The selections that you provide completely replace any existing metric selections.

If you omit this parameter, Amazon CloudWatch removes any existing metric selection filter and collects all available detailed metrics for the resource.

Returns:



6919
6920
6921
6922
6923
6924
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6919

class UpdateResourceMetricsConfigurationInput < Struct.new(
  :resource_arn,
  :metric_selections)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the Amazon Web Services resource to update the resource metrics configuration for.

Returns:

  • (String)


6919
6920
6921
6922
6923
6924
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6919

class UpdateResourceMetricsConfigurationInput < Struct.new(
  :resource_arn,
  :metric_selections)
  SENSITIVE = []
  include Aws::Structure
end