AWS SDK for .NET Documentation
SetDesiredCapacityRequest Class
AmazonAmazon.AutoScaling.ModelSetDesiredCapacityRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the SetDesiredCapacity operation.

Sets the desired size of the specified AutoScalingGroup.

Declaration Syntax
C#
public class SetDesiredCapacityRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SetDesiredCapacityRequest()()()()
Initializes a new instance of the SetDesiredCapacityRequest class

AutoScalingGroupName
The name of the Auto Scaling group.

Constraints:

Length
1 - 1600
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


DesiredCapacity
The new capacity setting for the Auto Scaling group.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HonorCooldown
By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Set to True if you want Auto Scaling to wait for the cooldown period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to the new capacity setting.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAutoScalingGroupName(String) Obsolete.
Sets the AutoScalingGroupName property

WithDesiredCapacity(Int32) Obsolete.
Sets the DesiredCapacity property

WithHonorCooldown(Boolean) Obsolete.
Sets the HonorCooldown property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 SetDesiredCapacityRequest
See Also

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