@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.123Z") @Stability(value=Experimental) public class HealthCheck extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
HealthCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HealthCheck(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheck |
ec2()
(experimental) Use EC2 for health checks.
|
static HealthCheck |
ec2(Ec2HealthCheckOptions options)
(experimental) Use EC2 for health checks.
|
static HealthCheck |
elb(ElbHealthCheckOptions options)
(experimental) Use ELB for health checks.
|
Duration |
getGracePeriod() |
String |
getType() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected HealthCheck(software.amazon.jsii.JsiiObjectRef objRef)
protected HealthCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static HealthCheck ec2(@Nullable Ec2HealthCheckOptions options)
options - EC2 health check options.@Stability(value=Experimental) @NotNull public static HealthCheck ec2()
@Stability(value=Experimental) @NotNull public static HealthCheck elb(@NotNull ElbHealthCheckOptions options)
It considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
options - ELB health check options. This parameter is required.@Stability(value=Experimental) @NotNull public String getType()
@Stability(value=Experimental) @Nullable public Duration getGracePeriod()
Copyright © 2021. All rights reserved.