AWS SDK for .NET Documentation
SetDesiredCapacity Method (setDesiredCapacityRequest)
Amazon ► Amazon.AutoScaling ► AmazonAutoScaling ► SetDesiredCapacity(SetDesiredCapacityRequest)
Did this page help you? Yes No Tell us about it...

Sets the desired size of the specified AutoScalingGroup.

Declaration Syntax

C#

    SetDesiredCapacityResponse SetDesiredCapacity(
    	SetDesiredCapacityRequest setDesiredCapacityRequest
    )

Parameters

setDesiredCapacityRequest (SetDesiredCapacityRequest)
  Container for the necessary parameters to execute the SetDesiredCapacity service method on AmazonAutoScaling.

Exceptions

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

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