Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.
See https://www.paws-r-sdk.com/docs/autoscaling_set_instance_protection/ for full documentation.
autoscaling_set_instance_protection(
InstanceIds,
AutoScalingGroupName,
ProtectedFromScaleIn
)
[required] One or more instance IDs. You can specify up to 50 instances.
[required] The name of the Auto Scaling group.
[required] Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.