AWS SDK for .NET Documentation
UpdateAutoScalingGroupRequest Class
AmazonAmazon.AutoScaling.ModelUpdateAutoScalingGroupRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the UpdateAutoScalingGroup operation.

Updates the configuration for the specified AutoScalingGroup.

NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.

NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.

Declaration Syntax
C#
public class UpdateAutoScalingGroupRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
UpdateAutoScalingGroupRequest()()()()
Initializes a new instance of the UpdateAutoScalingGroupRequest class

AutoScalingGroupName
The name of the Auto Scaling group.

Constraints:

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


AvailabilityZones
Availability Zones for the group.

Constraints:

Length
1 -


DefaultCooldown
The amount of time, in seconds, after a scaling activity completes before any further scaling activities can start. For more information, see Cooldown Period.

DesiredCapacity
The desired capacity for the Auto Scaling group.

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.)
HealthCheckGracePeriod
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when the instance passes System Status and the Instance Status checks from Amazon EC2. For more information, see DescribeInstanceStatus.

HealthCheckType
The type of health check for the instances in the Auto Scaling group. The health check type can either be EC2 for Amazon EC2 or ELB for Elastic Load Balancing.

Constraints:

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


LaunchConfigurationName
The name of the launch configuration.

Constraints:

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


MaxSize
The maximum size of the Auto Scaling group.

MinSize
The minimum size of the Auto Scaling group.

PlacementGroup
The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

Constraints:

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


TerminationPolicies
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VPCZoneIdentifier
The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list. When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones. For more information on creating your Auto Scaling group in Amazon VPC by specifying subnets, see Launch Auto Scaling Instances into Amazon VPC in the the Auto Scaling Developer Guide.

Constraints:

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


WithAutoScalingGroupName(String) Obsolete.
Sets the AutoScalingGroupName property

WithAvailabilityZones(array<String>[]()[][]) Obsolete.
Adds elements to the AvailabilityZones collection

WithAvailabilityZones(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the AvailabilityZones collection

WithDefaultCooldown(Int32) Obsolete.
Sets the DefaultCooldown property

WithDesiredCapacity(Int32) Obsolete.
Sets the DesiredCapacity property

WithHealthCheckGracePeriod(Int32) Obsolete.
Sets the HealthCheckGracePeriod property

WithHealthCheckType(String) Obsolete.
Sets the HealthCheckType property

WithLaunchConfigurationName(String) Obsolete.
Sets the LaunchConfigurationName property

WithMaxSize(Int32) Obsolete.
Sets the MaxSize property

WithMinSize(Int32) Obsolete.
Sets the MinSize property

WithPlacementGroup(String) Obsolete.
Sets the PlacementGroup property

WithTerminationPolicies(array<String>[]()[][]) Obsolete.
Adds elements to the TerminationPolicies collection

WithTerminationPolicies(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the TerminationPolicies collection

WithVPCZoneIdentifier(String) Obsolete.
Sets the VPCZoneIdentifier property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 UpdateAutoScalingGroupRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)