Skip to content

/AWS1/CL_ECSAUTOSCGROUPPVDRUPD

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

CONSTRUCTOR

IMPORTING

Optional arguments:

IO_MANAGEDSCALING TYPE REF TO /AWS1/CL_ECSMANAGEDSCALING /AWS1/CL_ECSMANAGEDSCALING

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

IV_MANAGEDTERMINATIONPROTE00 TYPE /AWS1/ECSMANAGEDTERMINATIONP00 /AWS1/ECSMANAGEDTERMINATIONP00

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.

IV_MANAGEDDRAINING TYPE /AWS1/ECSMANAGEDDRAINING /AWS1/ECSMANAGEDDRAINING

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.


Queryable Attributes

managedScaling

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

Accessible with the following methods

Method Description
GET_MANAGEDSCALING() Getter for MANAGEDSCALING

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.

Accessible with the following methods

Method Description
GET_MANAGEDTERMINATIONPROT00() Getter for MANAGEDTERMINATIONPROTECTION, with configurable d
ASK_MANAGEDTERMINATIONPROT00() Getter for MANAGEDTERMINATIONPROTECTION w/ exceptions if fie
HAS_MANAGEDTERMINATIONPROT00() Determine if MANAGEDTERMINATIONPROTECTION has a value

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.

Accessible with the following methods

Method Description
GET_MANAGEDDRAINING() Getter for MANAGEDDRAINING, with configurable default
ASK_MANAGEDDRAINING() Getter for MANAGEDDRAINING w/ exceptions if field has no val
HAS_MANAGEDDRAINING() Determine if MANAGEDDRAINING has a value