Class: Aws::IoTThingsGraph::Types::MetricsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTThingsGraph::Types::MetricsConfiguration
- 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
-
#cloud_metric_enabled ⇒ Boolean
A Boolean that specifies whether cloud metrics are collected.
-
#metric_rule_role_arn ⇒ String
The ARN of the role that is used to collect cloud metrics.
Instance Attribute Details
#cloud_metric_enabled ⇒ Boolean
A Boolean that specifies whether cloud metrics are collected.
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_arn ⇒ String
The ARN of the role that is used to collect cloud metrics.
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 |