AWS SDK for .NET Documentation
TerminateInstanceInAutoScalingGroup Method (terminateInstanceInAutoScalingGroupRequest)
AmazonAmazon.AutoScalingAmazonAutoScalingClientTerminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest) Did this page help you?   Yes   No    Tell us about it...

Terminates the specified instance. Optionally, the desired group size can be adjusted.

NOTE: This call simply registers a termination request. The termination of the instance cannot happen immediately.

Declaration Syntax
C#
public TerminateInstanceInAutoScalingGroupResponse TerminateInstanceInAutoScalingGroup(
	TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest
)
Parameters
terminateInstanceInAutoScalingGroupRequest (TerminateInstanceInAutoScalingGroupRequest)
Container for the necessary parameters to execute the TerminateInstanceInAutoScalingGroup service method on AmazonAutoScaling.
Return Value
The response from the TerminateInstanceInAutoScalingGroup service method, as returned by AmazonAutoScaling.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)