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:



6518
6519
6520
6521
6522
6523
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6518

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)


6518
6519
6520
6521
6522
6523
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6518

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