You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatch::Types::Metric

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

Overview

Represents a specific metric.

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsArray<Types::Dimension>

The dimensions for the metric.

Returns:



799
800
801
802
803
804
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 799

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  include Aws::Structure
end

#metric_nameString

The name of the metric.

Returns:

  • (String)


799
800
801
802
803
804
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 799

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  include Aws::Structure
end

#namespaceString

The namespace of the metric.

Returns:

  • (String)


799
800
801
802
803
804
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 799

class Metric < Struct.new(
  :namespace,
  :metric_name,
  :dimensions)
  include Aws::Structure
end