AWS SDK Version 2 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.

.NET Framework 3.5
 
Describes an Auto Scaling group.

Inheritance Hierarchy

System.Object
  Amazon.AutoScaling.Model.AutoScalingGroup

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AutoScalingGroup : Object

The AutoScalingGroup type exposes the following members

Constructors

NameDescription
Public Method AutoScalingGroup()

Properties

NameTypeDescription
Public Property AutoScalingGroupARN System.String Gets and sets the property AutoScalingGroupARN.

The Amazon Resource Name (ARN) of the group.

Public Property AutoScalingGroupName System.String Gets and sets the property AutoScalingGroupName.

The name of the group.

Public Property AvailabilityZones System.Collections.Generic.List<System.String> Gets and sets the property AvailabilityZones.

One or more Availability Zones for the group.

Public Property CreatedTime System.DateTime Gets and sets the property CreatedTime.

The date and time the group was created.

Public Property DefaultCooldown System.Int32 Gets and sets the property DefaultCooldown.

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

Public Property DesiredCapacity System.Int32 Gets and sets the property DesiredCapacity.

The desired size of the group.

Public Property EnabledMetrics System.Collections.Generic.List<Amazon.AutoScaling.Model.EnabledMetric> Gets and sets the property EnabledMetrics.

The metrics enabled for the group.

Public Property HealthCheckGracePeriod System.Int32 Gets and sets the property HealthCheckGracePeriod.

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

Public Property HealthCheckType System.String Gets and sets the property HealthCheckType.

The service to use for the health checks. The valid values are EC2 and ELB.

Public Property Instances System.Collections.Generic.List<Amazon.AutoScaling.Model.Instance> Gets and sets the property Instances.

The EC2 instances associated with the group.

Public Property LaunchConfigurationName System.String Gets and sets the property LaunchConfigurationName.

The name of the associated launch configuration.

Public Property LoadBalancerNames System.Collections.Generic.List<System.String> Gets and sets the property LoadBalancerNames.

One or more load balancers associated with the group.

Public Property MaxSize System.Int32 Gets and sets the property MaxSize.

The maximum size of the group.

Public Property MinSize System.Int32 Gets and sets the property MinSize.

The minimum size of the group.

Public Property NewInstancesProtectedFromScaleIn System.Boolean Gets and sets the property NewInstancesProtectedFromScaleIn.

Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.

Public Property PlacementGroup System.String Gets and sets the property PlacementGroup.

The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.

Public Property Status System.String Gets and sets the property Status.

The current state of the group when DeleteAutoScalingGroup is in progress.

Public Property SuspendedProcesses System.Collections.Generic.List<Amazon.AutoScaling.Model.SuspendedProcess> Gets and sets the property SuspendedProcesses.

The suspended processes associated with the group.

Public Property Tags System.Collections.Generic.List<Amazon.AutoScaling.Model.TagDescription> Gets and sets the property Tags.

The tags for the group.

Public Property TerminationPolicies System.Collections.Generic.List<System.String> Gets and sets the property TerminationPolicies.

The termination policies for the group.

Public Property VPCZoneIdentifier System.String Gets and sets the property VPCZoneIdentifier.

One or more subnet IDs, if applicable, separated by commas.

If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the Availability Zones of the subnets match the values for AvailabilityZones.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8