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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_metric_enabledBoolean

A Boolean that specifies whether cloud metrics are collected.

Returns:

  • (Boolean)


1183
1184
1185
1186
1187
1188
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1183

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

#metric_rule_role_arnString

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

Returns:

  • (String)


1183
1184
1185
1186
1187
1188
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1183

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