Class: Aws::IoT::Types::CloudwatchMetricAction

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

Overview

Describes an action that captures a CloudWatch metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The CloudWatch metric name.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#metric_namespaceString

The CloudWatch metric namespace name.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#metric_timestampString

An optional Unix timestamp.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#metric_unitString

The metric unit supported by CloudWatch.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#metric_valueString

The CloudWatch metric value.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The IAM role that allows access to the CloudWatch metric.

Returns:

  • (String)


2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2146

class CloudwatchMetricAction < Struct.new(
  :role_arn,
  :metric_namespace,
  :metric_name,
  :metric_value,
  :metric_unit,
  :metric_timestamp)
  SENSITIVE = []
  include Aws::Structure
end