Class HealthCheck
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.HealthCheck
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:15.127Z")
@Stability(Deprecated)
@Deprecated
public class HealthCheck
extends software.amazon.jsii.JsiiObject
Deprecated.
Use HealthChecks instead
(deprecated) Health check settings.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.autoscaling.*;
HealthCheck healthCheck = HealthCheck.ec2(Ec2HealthCheckOptions.builder()
.grace(Duration.minutes(30))
.build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHealthCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedHealthCheck(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheckec2()Deprecated.static HealthCheckec2(Ec2HealthCheckOptions options) Deprecated.static HealthCheckelb(ElbHealthCheckOptions options) Deprecated.Deprecated.getType()Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HealthCheck
protected HealthCheck(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
HealthCheck
protected HealthCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.
-
-
Method Details
-
ec2
@Stability(Deprecated) @Deprecated @NotNull public static HealthCheck ec2(@Nullable Ec2HealthCheckOptions options) Deprecated.(deprecated) Use EC2 for health checks.- Parameters:
options- EC2 health check options.
-
ec2
Deprecated.(deprecated) Use EC2 for health checks. -
elb
@Stability(Deprecated) @Deprecated @NotNull public static HealthCheck elb(@NotNull ElbHealthCheckOptions options) Deprecated.(deprecated) Use ELB for health checks.It considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
- Parameters:
options- ELB health check options. This parameter is required.
-
getType
Deprecated. -
getGracePeriod
Deprecated.
-