Container for the parameters to the SetInstanceHealth operation.
Namespace: Amazon.AutoScaling.ModelSets the health status of an instance.
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 |
| Member | Description | |
|---|---|---|
| SetInstanceHealthRequest()()()() | Initializes a new instance of the SetInstanceHealthRequest class | |
| Equals(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: | |
| InstanceId |
The identifier of the EC2 instance.
Constraints: | |
| ShouldRespectGracePeriod |
If True, this call should respect the grace period associated with the group.
| |
| ToString()()()() | (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
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.AutoScaling.Model..::..SetInstanceHealthRequest