modifyApplicationStatusCheck
abstract suspend fun modifyApplicationStatusCheck(input: ModifyApplicationStatusCheckRequest): ModifyApplicationStatusCheckResponse
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.
Samples
// This example modifies the port and path of an existing application status check.
val resp = ec2Client.modifyApplicationStatusCheck {
applicationStatusCheckId = "asc-0123456789abcdef0"
port = 8080
path = "/healthv2"
}Content copied to clipboard