paws.management (version 0.5.0)

autoscaling_set_instance_protection: Updates the instance protection settings of the specified instances

Description

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.

Usage

autoscaling_set_instance_protection(
  InstanceIds,
  AutoScalingGroupName,
  ProtectedFromScaleIn
)

Arguments

InstanceIds

[required] One or more instance IDs. You can specify up to 50 instances.

AutoScalingGroupName

[required] The name of the Auto Scaling group.

ProtectedFromScaleIn

[required] Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.