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.

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class TerminateInstanceInAutoScalingGroupRequest : AmazonWebServiceRequest
Public Class TerminateInstanceInAutoScalingGroupRequest _
	Inherits AmazonWebServiceRequest
public ref class TerminateInstanceInAutoScalingGroupRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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 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)
Sets the InstanceId property
WithShouldDecrementDesiredCapacity(Boolean)
Sets the ShouldDecrementDesiredCapacity property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.AutoScaling.Model..::..TerminateInstanceInAutoScalingGroupRequest

See Also