AWS SDK for .NET Documentation
SetLoadBasedAutoScalingRequest Class
AmazonAmazon.OpsWorks.ModelSetLoadBasedAutoScalingRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the SetLoadBasedAutoScaling operation. Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.
Note:

To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

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



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

DownScaling
Gets and sets the property DownScaling.

An

CopyC#
AutoScalingThresholds
object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks stops a specified number of instances.


Enable
Gets and sets the property Enable.

Enables load-based auto scaling for the layer.


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.)
LayerId
Gets and sets the property LayerId.

The layer ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UpScaling
Gets and sets the property UpScaling.

An

CopyC#
AutoScalingThresholds
object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks starts a specified number of instances.


WithDownScaling(AutoScalingThresholds) Obsolete.
Sets the DownScaling property

WithEnable(Boolean) Obsolete.
Sets the Enable property

WithLayerId(String) Obsolete.
Sets the LayerId property

WithUpScaling(AutoScalingThresholds) Obsolete.
Sets the UpScaling property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 SetLoadBasedAutoScalingRequest

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