Class: Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::EnableMetricsCollectionQuery
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#granularity ⇒ String
The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch.
-
#metrics ⇒ Array<String>
Identifies the metrics to enable.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
3089 3090 3091 3092 3093 3094 3095 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3089 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) SENSITIVE = [] include Aws::Structure end |
#granularity ⇒ String
The frequency at which Amazon EC2 Auto Scaling sends aggregated data
to CloudWatch. The only valid value is 1Minute.
3089 3090 3091 3092 3093 3094 3095 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3089 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) SENSITIVE = [] include Aws::Structure end |
#metrics ⇒ Array<String>
Identifies the metrics to enable.
You can specify one or more of the following metrics:
GroupMinSizeGroupMaxSizeGroupDesiredCapacityGroupInServiceInstancesGroupPendingInstancesGroupStandbyInstancesGroupTerminatingInstancesGroupTotalInstancesGroupInServiceCapacityGroupPendingCapacityGroupStandbyCapacityGroupTerminatingCapacityGroupTotalCapacityWarmPoolDesiredCapacityWarmPoolWarmedCapacityWarmPoolPendingCapacityWarmPoolTerminatingCapacityWarmPoolTotalCapacityGroupAndWarmPoolDesiredCapacityGroupAndWarmPoolTotalCapacity
If you specify Granularity and don't specify any metrics, all
metrics are enabled.
For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
3089 3090 3091 3092 3093 3094 3095 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3089 class EnableMetricsCollectionQuery < Struct.new( :auto_scaling_group_name, :metrics, :granularity) SENSITIVE = [] include Aws::Structure end |