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.

The details of the Auto Scaling group capacity provider to update.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.AutoScalingGroupProviderUpdate

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

Syntax

C#
public class AutoScalingGroupProviderUpdate

The AutoScalingGroupProviderUpdate type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property ManagedScaling Amazon.ECS.Model.ManagedScaling

Gets and sets the property ManagedScaling.

The managed scaling settings for the Auto Scaling group capacity provider.

Public Property 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.

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

Version Information

.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