Class: Aws::IoT::Types::CloudwatchMetricAction
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::CloudwatchMetricAction
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Overview
Describes an action that captures a CloudWatch metric.
Constant Summary collapse
- SENSITIVE =
 []
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].
 - 
  
    
      #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.
 
Instance Attribute Details
#metric_name ⇒ String
The CloudWatch metric name.
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  | 
  
#metric_namespace ⇒ String
The CloudWatch metric namespace name.
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  | 
  
#metric_timestamp ⇒ String
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  | 
  
#metric_unit ⇒ String
The [metric unit] supported by CloudWatch.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  | 
  
#metric_value ⇒ String
The CloudWatch metric value.
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  | 
  
#role_arn ⇒ String
The IAM role that allows access to the CloudWatch metric.
      2055 2056 2057 2058 2059 2060 2061 2062 2063 2064  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 2055 class CloudwatchMetricAction < Struct.new( :role_arn, :metric_namespace, :metric_name, :metric_value, :metric_unit, :metric_timestamp) SENSITIVE = [] include Aws::Structure end  |