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.
The details of the Auto Scaling group for the capacity provider.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class AutoScalingGroupProvider
The AutoScalingGroupProvider type exposes the following members
Name | Description | |
---|---|---|
![]() |
AutoScalingGroupProvider() |
Name | Type | Description | |
---|---|---|---|
![]() |
AutoScalingGroupArn | System.String |
Gets and sets the property AutoScalingGroupArn. The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name. |
![]() |
ManagedDraining | Amazon.ECS.ManagedDraining |
Gets and sets the property ManagedDraining. The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider. |
![]() |
ManagedScaling | Amazon.ECS.Model.ManagedScaling |
Gets and sets the property ManagedScaling. The managed scaling settings for the Auto Scaling group capacity provider. |
![]() |
ManagedTerminationProtection | Amazon.ECS.ManagedTerminationProtection |
Gets and sets the property ManagedTerminationProtection. The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off. When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work. When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide. When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5