AWS SDK for .NET Documentation
TerminateInstanceInAutoScalingGroupRequest Class
AmazonAmazon.AutoScaling.ModelTerminateInstanceInAutoScalingGroupRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the TerminateInstanceInAutoScalingGroup operation.

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 class TerminateInstanceInAutoScalingGroupRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TerminateInstanceInAutoScalingGroupRequest()()()()
Initializes a new instance of the TerminateInstanceInAutoScalingGroupRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstanceId
The ID of the Amazon EC2 instance to be terminated.

Constraints:

Length
1 - 16
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


ShouldDecrementDesiredCapacity
Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInstanceId(String) Obsolete.
Sets the InstanceId property

WithShouldDecrementDesiredCapacity(Boolean) Obsolete.
Sets the ShouldDecrementDesiredCapacity property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 TerminateInstanceInAutoScalingGroupRequest
See Also

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