@Stability(value=Stable) public static final class CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty>
| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder healthyThreshold(Number healthyThreshold)
healthyThreshold - The number of consecutive successful health checks that must occur before declaring the listener healthy. This parameter is required.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder intervalMillis(Number intervalMillis)
intervalMillis - The time period in milliseconds between each health check execution. This parameter is required.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder protocol(String protocol)
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.getProtocol()protocol - The protocol for the health check request. This parameter is required.
If you specify grpc , then your service must conform to the GRPC Health Checking Protocol .this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder timeoutMillis(Number timeoutMillis)
timeoutMillis - The amount of time to wait when receiving a response from the health check, in milliseconds. This parameter is required.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder unhealthyThreshold(Number unhealthyThreshold)
unhealthyThreshold - The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy. This parameter is required.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder path(String path)
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.getPath()path - The destination path for the health check request.
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder port(Number port)
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.getPort()port - The destination port for the health check request.
This port must match the port defined in the PortMapping for the listener.this@Stability(value=Stable) public CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty>CfnVirtualGateway.VirtualGatewayHealthCheckPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.