The ScalingPolicy data type.

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class ScalingPolicy
Public Class ScalingPolicy
public ref class ScalingPolicy

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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 PercentOfCapacity.

Constraints:

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

Alarms
A list of CloudWatch Alarms related to the policy.
AutoScalingGroupName
The name of the Auto Scaling group associated with this scaling policy.

Constraints:

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

Cooldown
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
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.)
PolicyARN
The Amazon Resource Name (ARN) of the policy.

Constraints:

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

PolicyName
The name of the scaling policy.

Constraints:

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

ScalingAdjustment
The number associated with the specified AdjustmentType. 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)
Sets the AdjustmentType property
WithAlarms(array<Alarm>[]()[][])
Adds elements to the Alarms collection
WithAlarms(IEnumerable<(Of <<'(Alarm>)>>))
Adds elements to the Alarms collection
WithAutoScalingGroupName(String)
Sets the AutoScalingGroupName property
WithCooldown(Int32)
Sets the Cooldown property
WithPolicyARN(String)
Sets the PolicyARN property
WithPolicyName(String)
Sets the PolicyName property
WithScalingAdjustment(Int32)
Sets the ScalingAdjustment property

Inheritance Hierarchy

System..::..Object
  Amazon.AutoScaling.Model..::..ScalingPolicy

See Also