class Aws::ECS::Types::AutoScalingGroupProviderUpdate

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

@note When making an API call, you may pass AutoScalingGroupProviderUpdate

data as a hash:

    {
      managed_scaling: {
        status: "ENABLED", # accepts ENABLED, DISABLED
        target_capacity: 1,
        minimum_scaling_step_size: 1,
        maximum_scaling_step_size: 1,
        instance_warmup_period: 1,
      },
      managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
    }

@!attribute [rw] managed_scaling

The managed scaling settings for the Auto Scaling group capacity
provider.
@return [Types::ManagedScaling]

@!attribute [rw] managed_termination_protection

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 will not work.

When managed termination protection is enabled, 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 enabled as well. For more
information, see [Instance Protection][1] in the *Auto Scaling User
Guide*.

When managed termination protection is disabled, your Amazon EC2
instances are not protected from termination when the Auto Scaling
group scales in.

[1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AutoScalingGroupProviderUpdate AWS API Documentation

Constants

SENSITIVE