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 automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks:

Application Auto Scaling can scale the following AWS resources:

For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.

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 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)

Provides descriptive 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)

Provides descriptive information about the scaling policies in the specified 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 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 without first registering a 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 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 your 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 are no longer using 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