Updates the configuration for the specified AutoScalingGroup.

NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Triggers that are currently in progress aren't affected.

NOTE: If the new values are specified for the MinSize or MaxSize parameters, then there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All optional parameters are left unchanged if not passed in the request.

Namespace: Amazon.AutoScaling
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.2.0 (1.4.2.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
UpdateAutoScalingGroupResponse UpdateAutoScalingGroup(
	UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest
)
Function UpdateAutoScalingGroup ( _
	updateAutoScalingGroupRequest As UpdateAutoScalingGroupRequest _
) As UpdateAutoScalingGroupResponse
UpdateAutoScalingGroupResponse^ UpdateAutoScalingGroup(
	UpdateAutoScalingGroupRequest^ updateAutoScalingGroupRequest
)

Parameters

updateAutoScalingGroupRequest
UpdateAutoScalingGroupRequest
Container for the necessary parameters to execute the UpdateAutoScalingGroup service method on AmazonAutoScaling.

Exceptions

See Also