Interface HealthCheckConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HealthCheckConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.077Z")
@Stability(Stable)
public interface HealthCheckConfig
extends software.amazon.jsii.JsiiSerializable
All Properties for Health Checks for mesh endpoints.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
HealthCheckConfig healthCheckConfig = HealthCheckConfig.builder()
.virtualGatewayHealthCheck(VirtualGatewayHealthCheckPolicyProperty.builder()
.healthyThreshold(123)
.intervalMillis(123)
.protocol("protocol")
.timeoutMillis(123)
.unhealthyThreshold(123)
// the properties below are optional
.path("path")
.port(123)
.build())
.virtualNodeHealthCheck(HealthCheckProperty.builder()
.healthyThreshold(123)
.intervalMillis(123)
.protocol("protocol")
.timeoutMillis(123)
.unhealthyThreshold(123)
// the properties below are optional
.path("path")
.port(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHealthCheckConfigstatic final classAn implementation forHealthCheckConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheckConfig.Builderbuilder()VirtualGateway CFN configuration for Health Checks.VirtualNode CFN configuration for Health Checks.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVirtualGatewayHealthCheck
@Stability(Stable) @Nullable default CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty getVirtualGatewayHealthCheck()VirtualGateway CFN configuration for Health Checks.Default: - no health checks
-
getVirtualNodeHealthCheck
VirtualNode CFN configuration for Health Checks.Default: - no health checks
-
builder
- Returns:
- a
HealthCheckConfig.BuilderofHealthCheckConfig
-