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.
Modifies an existing application status check. You can update the protocol, port, path, thresholds, and other configuration settings. The following rules apply:
The application status check must exist and belong to your account.
Changes take effect on the next health check interval.
For .NET Core this operation is only available in asynchronous form. Please refer to ModifyApplicationStatusCheckAsync.
Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public virtual ModifyApplicationStatusCheckResponse ModifyApplicationStatusCheck( ModifyApplicationStatusCheckRequest request )
Container for the necessary parameters to execute the ModifyApplicationStatusCheck service method.
This example modifies the port and path of an existing application status check.
var client = new AmazonEC2Client();
var response = client.ModifyApplicationStatusCheck(new ModifyApplicationStatusCheckRequest
{
ApplicationStatusCheckId = "asc-0123456789abcdef0",
Path = "/healthv2",
Port = 8080
});
ApplicationStatusCheckResponseObject applicationStatusCheck = response.ApplicationStatusCheck;
.NET Framework:
Supported in: 4.7.2 and newer