Interface ComputeHttpHealthCheckConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeHttpHealthCheckConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.438Z") @Stability(Stable) public interface ComputeHttpHealthCheckConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeHttpHealthCheckConfig.BuilderA builder forComputeHttpHealthCheckConfigstatic classComputeHttpHealthCheckConfig.Jsii$ProxyAn implementation forComputeHttpHealthCheckConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeHttpHealthCheckConfig.Builderbuilder()default NumbergetCheckIntervalSec()How often (in seconds) to send a health check.default StringgetDescription()An optional description of this resource.default NumbergetHealthyThreshold()A so-far unhealthy instance will be marked healthy after this many consecutive successes.default StringgetHost()The value of the host header in the HTTP health check request.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#id ComputeHttpHealthCheck#id}.StringgetName()Name of the resource.default NumbergetPort()The TCP port number for the HTTP health check request.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#project ComputeHttpHealthCheck#project}.default StringgetRequestPath()The request path of the HTTP health check request.default ComputeHttpHealthCheckTimeoutsgetTimeouts()timeouts block.default NumbergetTimeoutSec()How long (in seconds) to wait before claiming failure.default NumbergetUnhealthyThreshold()A so-far healthy instance will be marked unhealthy after this many consecutive failures.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
Name of the resource.Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#name ComputeHttpHealthCheck#name}
-
getCheckIntervalSec
@Stability(Stable) @Nullable default Number getCheckIntervalSec()
How often (in seconds) to send a health check. The default value is 5 seconds.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#check_interval_sec ComputeHttpHealthCheck#check_interval_sec}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description of this resource. Provide this property when you create the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#description ComputeHttpHealthCheck#description}
-
getHealthyThreshold
@Stability(Stable) @Nullable default Number getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#healthy_threshold ComputeHttpHealthCheck#healthy_threshold}
-
getHost
@Stability(Stable) @Nullable default String getHost()
The value of the host header in the HTTP health check request.If left empty (default value), the public IP on behalf of which this health check is performed will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#host ComputeHttpHealthCheck#host}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#id ComputeHttpHealthCheck#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The TCP port number for the HTTP health check request. The default value is 80.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#port ComputeHttpHealthCheck#port}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#project ComputeHttpHealthCheck#project}.
-
getRequestPath
@Stability(Stable) @Nullable default String getRequestPath()
The request path of the HTTP health check request. The default value is /.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#request_path ComputeHttpHealthCheck#request_path}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeHttpHealthCheckTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#timeouts ComputeHttpHealthCheck#timeouts}
-
getTimeoutSec
@Stability(Stable) @Nullable default Number getTimeoutSec()
How long (in seconds) to wait before claiming failure.The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#timeout_sec ComputeHttpHealthCheck#timeout_sec}
-
getUnhealthyThreshold
@Stability(Stable) @Nullable default Number getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_http_health_check#unhealthy_threshold ComputeHttpHealthCheck#unhealthy_threshold}
-
builder
@Stability(Stable) static ComputeHttpHealthCheckConfig.Builder builder()
-
-