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.109.0 (build c221850)",
date="2025-03-14T03:24:53.847Z")
@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
ConstructorsModifierConstructorDescriptionprotected
HealthCheck
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
HealthCheck
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheck
ec2()
Deprecated.static HealthCheck
ec2
(Ec2HealthCheckOptions options) Deprecated.static HealthCheck
elb
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.
-