You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Defined in:
- (unknown)
Overview
When passing EnableMetricsCollectionQuery as input to an Aws::Client method, you can use a vanilla Hash:
{
auto_scaling_group_name: "ResourceName", # required
metrics: ["XmlStringMaxLen255"],
granularity: "XmlStringMaxLen255", # required
}
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#granularity ⇒ String
The granularity to associate with the metrics to collect.
-
#metrics ⇒ Array<String>
Specifies which group-level metrics to start collecting.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
#granularity ⇒ String
The granularity to associate with the metrics to collect. The only valid
value is 1Minute
.
#metrics ⇒ Array<String>
Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
If you omit this parameter, all metrics are enabled.