AWS SDK Version 3 for .NET
API Reference

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.

Interface for accessing ApplicationAutoScaling With Application Auto Scaling, you can configure automatic scaling for your scalable resources. You can use Application Auto Scaling to accomplish the following tasks:

Application Auto Scaling can scale the following resources:

To learn more about Application Auto Scaling, see the Application Auto Scaling User Guide.

To configure automatic scaling for multiple resources across multiple services, use AWS Auto Scaling to create a scaling plan for your application. For more information, see the AWS Auto Scaling User Guide.

Inheritance Hierarchy

Amazon.ApplicationAutoScaling.IAmazonApplicationAutoScaling

Namespace: Amazon.ApplicationAutoScaling
Assembly: AWSSDK.ApplicationAutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public interface IAmazonApplicationAutoScaling
         IAmazonService, IDisposable

The IAmazonApplicationAutoScaling type exposes the following members

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method DeleteScalingPolicy(DeleteScalingPolicyRequest)

Deletes the specified Application Auto Scaling scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.

To create a scaling policy or update an existing one, see PutScalingPolicy.

Public Method DeleteScalingPolicyAsync(DeleteScalingPolicyRequest, CancellationToken)

Initiates the asynchronous execution of the DeleteScalingPolicy operation.

Public Method DeleteScheduledAction(DeleteScheduledActionRequest)

Deletes the specified Application Auto Scaling scheduled action.

Public Method DeleteScheduledActionAsync(DeleteScheduledActionRequest, CancellationToken)

Initiates the asynchronous execution of the DeleteScheduledAction operation.

Public Method DeregisterScalableTarget(DeregisterScalableTargetRequest)

Deregisters a scalable target.

Deregistering a scalable target deletes the scaling policies that are associated with it.

To create a scalable target or update an existing one, see RegisterScalableTarget.

Public Method DeregisterScalableTargetAsync(DeregisterScalableTargetRequest, CancellationToken)

Initiates the asynchronous execution of the DeregisterScalableTarget operation.

Public Method DescribeScalableTargets(DescribeScalableTargetsRequest)

Gets information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

Public Method DescribeScalableTargetsAsync(DescribeScalableTargetsRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeScalableTargets operation.

Public Method DescribeScalingActivities(DescribeScalingActivitiesRequest)

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

Public Method DescribeScalingActivitiesAsync(DescribeScalingActivitiesRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeScalingActivities operation.

Public Method DescribeScalingPolicies(DescribeScalingPoliciesRequest)

Describes the scaling policies for the specified service namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

Public Method DescribeScalingPoliciesAsync(DescribeScalingPoliciesRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeScalingPolicies operation.

Public Method DescribeScheduledActions(DescribeScheduledActionsRequest)

Describes the scheduled actions for the specified service namespace.

You can filter the results using the ResourceId, ScalableDimension, and ScheduledActionNames parameters.

To create a scheduled action or update an existing one, see PutScheduledAction. If you are no longer using a scheduled action, you can delete it using DeleteScheduledAction.

Public Method DescribeScheduledActionsAsync(DescribeScheduledActionsRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeScheduledActions operation.

Public Method PutScalingPolicy(PutScalingPolicyRequest)

Creates or updates a policy for an Application Auto Scaling scalable target.

Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy until you register the scalable target using RegisterScalableTarget.

To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.

You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

Public Method PutScalingPolicyAsync(PutScalingPolicyRequest, CancellationToken)

Initiates the asynchronous execution of the PutScalingPolicy operation.

Public Method PutScheduledAction(PutScheduledActionRequest)

Creates or updates a scheduled action for an Application Auto Scaling scalable target.

Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you register the scalable target using RegisterScalableTarget.

To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request.

You can view the scheduled actions using DescribeScheduledActions. If you are no longer using a scheduled action, you can delete it using DeleteScheduledAction.

Public Method PutScheduledActionAsync(PutScheduledActionRequest, CancellationToken)

Initiates the asynchronous execution of the PutScheduledAction operation.

Public Method RegisterScalableTarget(RegisterScalableTargetRequest)

Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for its scalable dimension.

After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you no longer need a scalable target, you can deregister it using DeregisterScalableTarget.

Public Method RegisterScalableTargetAsync(RegisterScalableTargetRequest, CancellationToken)

Initiates the asynchronous execution of the RegisterScalableTarget operation.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms