AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Suppresses application status checks for the specified instances. While suppressed, health checks continue to run but do not affect the instance-level application status. The following rules apply:
Maximum 100 instance IDs per request.
Use DisableApplicationStatusCheckSuppression to resume normal health check
reporting.
If you do not specify DurationSeconds, suppression continues indefinitely until
you call DisableApplicationStatusCheckSuppression.
For .NET Core this operation is only available in asynchronous form. Please refer to EnableApplicationStatusCheckSuppressionAsync.
Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public virtual EnableApplicationStatusCheckSuppressionResponse EnableApplicationStatusCheckSuppression( EnableApplicationStatusCheckSuppressionRequest request )
Container for the necessary parameters to execute the EnableApplicationStatusCheckSuppression service method.
This example suppresses application status check reporting for the specified instance for one hour.
var client = new AmazonEC2Client();
var response = client.EnableApplicationStatusCheckSuppression(new EnableApplicationStatusCheckSuppressionRequest
{
DurationSeconds = 3600,
InstanceIds = new List<string> {
"i-0123456789abcdef0"
}
});
List<SuccessfulSuppressionResponseObject> successfulResults = response.SuccessfulResults;
List<UnsuccessfulSuppressionResponseObject> unsuccessfulResults = response.UnsuccessfulResults;
.NET Framework:
Supported in: 4.7.2 and newer