autoscaling_terminate_instance_in_auto_scaling_group: Terminates the specified instance and optionally adjusts the...

View source: R/autoscaling_operations.R

autoscaling_terminate_instance_in_auto_scaling_groupR Documentation

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.


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