Container for the parameters to the SetInstanceHealth operation.

Sets the health status of an instance.

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 SetInstanceHealthRequest : AmazonWebServiceRequest
Public Class SetInstanceHealthRequest _
	Inherits AmazonWebServiceRequest
public ref class SetInstanceHealthRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
SetInstanceHealthRequest()()()()
Initializes a new instance of the SetInstanceHealthRequest 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.)
HealthStatus
The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it.

Constraints:

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

InstanceId
The identifier of the EC2 instance.

Constraints:

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

ShouldRespectGracePeriod
If True, this call should respect the grace period associated with the group.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithHealthStatus(String)
Sets the HealthStatus property
WithInstanceId(String)
Sets the InstanceId property
WithShouldRespectGracePeriod(Boolean)
Sets the ShouldRespectGracePeriod property

Inheritance Hierarchy

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

See Also