The ScalingPolicy data type.
 Declaration Syntax
 Declaration Syntax| C# | 
public class ScalingPolicy
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | ScalingPolicy()()()() | Initializes a new instance of the ScalingPolicy class | 
|  | AdjustmentType | 
            Specifies whether the ScalingAdjustment is an absolute number or a percentage of the current capacity. Valid values are
            ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
             
             Constraints: | 
|  | Alarms | 
            A list of CloudWatch Alarms related to the policy.
             
             | 
|  | AutoScalingGroupName | 
            The name of the Auto Scaling group associated with this scaling policy.
             
             Constraints: | 
|  | Cooldown | 
            The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
             
             | 
|  | Equals(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.) | 
|  | MinAdjustmentStep | 
            Changes the DesiredCapacity of the Auto Scaling group by at least the specified number of instances.
             
             | 
|  | PolicyARN | 
            The Amazon Resource Name (ARN) of the policy.
             
             Constraints: | 
|  | PolicyName | 
            The name of the scaling policy.
             
             Constraints: | 
|  | ScalingAdjustment | 
            The number associated with the specified adjustment type. A positive value adds to the current capacity and a negative value removes from
            the current capacity.
             
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithAdjustmentType(String) | Obsolete. 
            Sets the AdjustmentType property
             | 
|  | WithAlarms(array<Alarm>[]()[][]) | Obsolete. 
            Adds elements to the Alarms collection
             | 
|  | WithAlarms(IEnumerable<(Of <<'(Alarm>)>>)) | Obsolete. 
            Adds elements to the Alarms collection
             | 
|  | WithAutoScalingGroupName(String) | Obsolete. 
            Sets the AutoScalingGroupName property
             | 
|  | WithCooldown(Int32) | Obsolete. 
            Sets the Cooldown property
             | 
|  | WithMinAdjustmentStep(Int32) | Obsolete. 
            Sets the MinAdjustmentStep property
             | 
|  | WithPolicyARN(String) | Obsolete. 
            Sets the PolicyARN property
             | 
|  | WithPolicyName(String) | Obsolete. 
            Sets the PolicyName property
             | 
|  | WithScalingAdjustment(Int32) | Obsolete. 
            Sets the ScalingAdjustment property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | ScalingPolicy |