Class: Aws::CloudWatch::Types::CreateResourceMetricsConfigurationInput

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

Overview

Specifies the resource ARN and optional metric selections for a CreateResourceMetricsConfiguration 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. If you omit this parameter, Amazon CloudWatch collects all available detailed metrics for the resource.

Returns:



486
487
488
489
490
491
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 486

class CreateResourceMetricsConfigurationInput < 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 enable detailed monitoring for.

Returns:

  • (String)


486
487
488
489
490
491
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 486

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