Class: Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Note:
When making an API call, you may pass EnableMetricsCollectionQuery data as a 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>
One or more of the following metrics.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
2233 2234 2235 2236 2237 2238 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2233 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) include Aws::Structure end |
#granularity ⇒ String
The granularity to associate with the metrics to collect. The only valid value is ‘1Minute`.
2233 2234 2235 2236 2237 2238 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2233 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) include Aws::Structure end |
#metrics ⇒ Array<String>
One or more of the following metrics. If you omit this parameter, all metrics are enabled.
-
‘GroupMinSize`
-
‘GroupMaxSize`
-
‘GroupDesiredCapacity`
-
‘GroupInServiceInstances`
-
‘GroupPendingInstances`
-
‘GroupStandbyInstances`
-
‘GroupTerminatingInstances`
-
‘GroupTotalInstances`
2233 2234 2235 2236 2237 2238 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 2233 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) include Aws::Structure end |