You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoTThingsGraph::Types::MetricsConfiguration

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

Overview

Note:

When making an API call, you may pass MetricsConfiguration data as a hash:

{
  cloud_metric_enabled: false,
  metric_rule_role_arn: "RoleArn",
}

An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_metric_enabledBoolean

A Boolean that specifies whether cloud metrics are collected.

Returns:

  • (Boolean)


1132
1133
1134
1135
1136
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1132

class MetricsConfiguration < Struct.new(
  :cloud_metric_enabled,
  :metric_rule_role_arn)
  include Aws::Structure
end

#metric_rule_role_arnString

The ARN of the role that is used to collect cloud metrics.

Returns:

  • (String)


1132
1133
1134
1135
1136
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1132

class MetricsConfiguration < Struct.new(
  :cloud_metric_enabled,
  :metric_rule_role_arn)
  include Aws::Structure
end