Interface ComputeHealthCheckTcpHealthCheck
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeHealthCheckTcpHealthCheck.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.431Z") @Stability(Stable) public interface ComputeHealthCheckTcpHealthCheck extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeHealthCheckTcpHealthCheck.BuilderA builder forComputeHealthCheckTcpHealthCheckstatic classComputeHealthCheckTcpHealthCheck.Jsii$ProxyAn implementation forComputeHealthCheckTcpHealthCheck
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeHealthCheckTcpHealthCheck.Builderbuilder()default NumbergetPort()The TCP port number for the TCP health check request.default StringgetPortName()Port name as defined in InstanceGroup#NamedPort#name.default StringgetPortSpecification()Specifies how port is selected for health checking, can be one of the following values:.default StringgetProxyHeader()Specifies the type of proxy header to append before sending data to the backend.default StringgetRequest()The application data to send once the TCP connection has been established (default value is empty).default StringgetResponse()The bytes to match against the beginning of the response data.
-
-
-
Method Detail
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The TCP port number for the TCP health check request. The default value is 443.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port ComputeHealthCheck#port}
-
getPortName
@Stability(Stable) @Nullable default String getPortName()
Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_name ComputeHealthCheck#port_name}
-
getPortSpecification
@Stability(Stable) @Nullable default String getPortSpecification()
Specifies how port is selected for health checking, can be one of the following values:.* 'USE_FIXED_PORT': The port number in 'port' is used for health checking. * 'USE_NAMED_PORT': The 'portName' is used for health checking. * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in 'port' and 'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_specification ComputeHealthCheck#port_specification}
-
getProxyHeader
@Stability(Stable) @Nullable default String getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend.Default value: "NONE" Possible values: ["NONE", "PROXY_V1"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#proxy_header ComputeHealthCheck#proxy_header}
-
getRequest
@Stability(Stable) @Nullable default String getRequest()
The application data to send once the TCP connection has been established (default value is empty).If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#request ComputeHealthCheck#request}
-
getResponse
@Stability(Stable) @Nullable default String getResponse()
The bytes to match against the beginning of the response data.If left empty (the default value), any response will indicate health. The response data can only be ASCII. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#response ComputeHealthCheck#response}
-
builder
@Stability(Stable) static ComputeHealthCheckTcpHealthCheck.Builder builder()
-
-