autoscaling_set_instance_protection: Updates the instance protection settings of the specified...

View source: R/autoscaling_operations.R

autoscaling_set_instance_protectionR Documentation

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.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.