View source: R/autoscaling_operations.R
| autoscaling_terminate_instance_in_auto_scaling_group | R Documentation |
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.
autoscaling_terminate_instance_in_auto_scaling_group(
InstanceId = NULL,
InstanceIds = NULL,
AutoScalingGroupName = NULL,
ShouldDecrementDesiredCapacity
)
InstanceId |
The ID of the instance. |
InstanceIds |
The IDs of the instances. You can specify up to 100 instances. This parameter requires that you also specify |
AutoScalingGroupName |
The name of the Auto Scaling group. Required when using |
ShouldDecrementDesiredCapacity |
[required] Indicates whether terminating the instance also decrements the size of the Auto Scaling group. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.