AWS SDK for .NET Documentation
EnableMetricsCollection Method (enableMetricsCollectionRequest)
AmazonAmazon.AutoScalingAmazonAutoScalingEnableMetricsCollection(EnableMetricsCollectionRequest) Did this page help you?   Yes   No    Tell us about it...

Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of enabled metrics with the Metrics parameter.

Auto Scaling metrics collection can be turned on only if the InstanceMonitoring flag, in the Auto Scaling group's launch configuration, is set to True .

Declaration Syntax
C#
EnableMetricsCollectionResponse EnableMetricsCollection(
	EnableMetricsCollectionRequest enableMetricsCollectionRequest
)
Parameters
enableMetricsCollectionRequest (EnableMetricsCollectionRequest)
Container for the necessary parameters to execute the EnableMetricsCollection service method on AmazonAutoScaling.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)