paws.management (version 0.5.0)

autoscaling_terminate_instance_in_auto_scaling_group: Terminates the specified instance and optionally adjusts the desired group size

Description

Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool.

See https://www.paws-r-sdk.com/docs/autoscaling_terminate_instance_in_auto_scaling_group/ for full documentation.

Usage

autoscaling_terminate_instance_in_auto_scaling_group(
  InstanceId,
  ShouldDecrementDesiredCapacity
)

Arguments

InstanceId

[required] The ID of the instance.

ShouldDecrementDesiredCapacity

[required] Indicates whether terminating the instance also decrements the size of the Auto Scaling group.