AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a scaling policy to use with Application Auto Scaling.
For more information about configuring scaling policies for a specific service, see Amazon Web Services services that you can use with Application Auto Scaling in the Application Auto Scaling User Guide.
Namespace: Amazon.ApplicationAutoScaling.Model
Assembly: AWSSDK.ApplicationAutoScaling.dll
Version: 3.x.y.z
public class ScalingPolicy
The ScalingPolicy type exposes the following members
Name | Description | |
---|---|---|
ScalingPolicy() |
Name | Type | Description | |
---|---|---|---|
Alarms | System.Collections.Generic.List<Amazon.ApplicationAutoScaling.Model.Alarm> |
Gets and sets the property Alarms. The CloudWatch alarms associated with the scaling policy. |
|
CreationTime | System.DateTime |
Gets and sets the property CreationTime. The Unix timestamp for when the scaling policy was created. |
|
PolicyARN | System.String |
Gets and sets the property PolicyARN. The Amazon Resource Name (ARN) of the scaling policy. |
|
PolicyName | System.String |
Gets and sets the property PolicyName. The name of the scaling policy. |
|
PolicyType | Amazon.ApplicationAutoScaling.PolicyType |
Gets and sets the property PolicyType. The scaling policy type. The following policy types are supported:
|
|
ResourceId | System.String |
Gets and sets the property ResourceId. The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
|
|
ScalableDimension | Amazon.ApplicationAutoScaling.ScalableDimension |
Gets and sets the property ScalableDimension. The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
|
ServiceNamespace | Amazon.ApplicationAutoScaling.ServiceNamespace |
Gets and sets the property ServiceNamespace.
The namespace of the Amazon Web Services service that provides the resource, or a
|
|
StepScalingPolicyConfiguration | Amazon.ApplicationAutoScaling.Model.StepScalingPolicyConfiguration |
Gets and sets the property StepScalingPolicyConfiguration. A step scaling policy. |
|
TargetTrackingScalingPolicyConfiguration | Amazon.ApplicationAutoScaling.Model.TargetTrackingScalingPolicyConfiguration |
Gets and sets the property TargetTrackingScalingPolicyConfiguration. A target tracking scaling policy. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5