Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.
NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.

C# |
DeleteAutoScalingGroupResponse DeleteAutoScalingGroup( DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest )

- deleteAutoScalingGroupRequest (DeleteAutoScalingGroupRequest)
- Container for the necessary parameters to execute the DeleteAutoScalingGroup service method on AmazonAutoScaling.

Exception | Condition |
---|---|
ResourceInUseException | |
ScalingActivityInProgressException |