You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::CloudwatchMetricAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CloudwatchMetricAction
- Defined in:
- (unknown)
Overview
Note:
When passing CloudwatchMetricAction as input to an Aws::Client method, you can use a vanilla Hash:
{
role_arn: "AwsArn", # required
metric_namespace: "String", # required
metric_name: "String", # required
metric_value: "String", # required
metric_unit: "String", # required
metric_timestamp: "String",
}
Describes an action that captures a CloudWatch metric.
Returned by:
Instance Attribute Summary collapse
-
#metric_name ⇒ String
The CloudWatch metric name.
-
#metric_namespace ⇒ String
The CloudWatch metric namespace name.
-
#metric_timestamp ⇒ String
An optional [Unix timestamp][1].
-
#metric_unit ⇒ String
The [metric unit][1] supported by CloudWatch.
-
#metric_value ⇒ String
The CloudWatch metric value.
-
#role_arn ⇒ String
The IAM role that allows access to the CloudWatch metric.
Instance Attribute Details
#metric_name ⇒ String
The CloudWatch metric name.
#metric_namespace ⇒ String
The CloudWatch metric namespace name.
#metric_timestamp ⇒ String
An optional Unix timestamp.
#metric_unit ⇒ String
The metric unit supported by CloudWatch.
#metric_value ⇒ String
The CloudWatch metric value.
#role_arn ⇒ String
The IAM role that allows access to the CloudWatch metric.