Class: Aws::CloudWatch::Types::ResourceMetricsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::ResourceMetricsConfiguration
- 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
-
#created_at ⇒ Time
The date and time that the resource metrics configuration was created.
-
#metric_selections ⇒ Array<Types::ResourceMetricSelection>
The metrics that Amazon CloudWatch collects for the resource.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon Web Services resource that this configuration applies to.
-
#updated_at ⇒ Time
The date and time that the resource metrics configuration was last updated.
Instance Attribute Details
#created_at ⇒ Time
The date and time that the resource metrics configuration was created.
5850 5851 5852 5853 5854 5855 5856 5857 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 5850 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.
5850 5851 5852 5853 5854 5855 5856 5857 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 5850 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.
5850 5851 5852 5853 5854 5855 5856 5857 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 5850 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.
5850 5851 5852 5853 5854 5855 5856 5857 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 5850 class ResourceMetricsConfiguration < Struct.new( :resource_arn, :created_at, :updated_at, :metric_selections) SENSITIVE = [] include Aws::Structure end |