CapacityProviderAutoScalingGroupProviderManagedTerminationProtection

enum CapacityProviderAutoScalingGroupProviderManagedTerminationProtection : Enum<CapacityProviderAutoScalingGroupProviderManagedTerminationProtection> , ConvertibleToJava<CapacityProviderAutoScalingGroupProviderManagedTerminationProtection>

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

Entries

Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: CapacityProviderAutoScalingGroupProviderManagedTerminationProtection
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): CapacityProviderAutoScalingGroupProviderManagedTerminationProtection
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.