Class: Aws::CloudWatch::Types::ResourceMetricsConfiguration

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

Overview

Represents a resource metrics configuration for an Amazon Web Services resource. A resource metrics configuration enables detailed metric collection for the resource that is identified by its Amazon Resource Name (ARN). Each Amazon Web Services resource can have only one resource metrics configuration.

This structure is returned by the CreateResourceMetricsConfiguration, UpdateResourceMetricsConfiguration, and GetResourceMetricsConfiguration operations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The date and time that the resource metrics configuration was created.

Returns:

  • (Time)


6269
6270
6271
6272
6273
6274
6275
6276
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6269

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

#metric_selections ⇒ Array<Types::ResourceMetricSelection>

The metrics that Amazon CloudWatch collects for the resource. If this field is not present, Amazon CloudWatch collects all available detailed metrics for the resource.

Returns:



6269
6270
6271
6272
6273
6274
6275
6276
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6269

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

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the Amazon Web Services resource that this configuration applies to.

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6269

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

#updated_at ⇒ Time

The date and time that the resource metrics configuration was last updated. When the configuration is first created, this value is the same as CreatedAt.

Returns:

  • (Time)


6269
6270
6271
6272
6273
6274
6275
6276
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 6269

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