Interface ComputeRegionHealthCheckConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeRegionHealthCheckConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.729Z") @Stability(Stable) public interface ComputeRegionHealthCheckConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRegionHealthCheckConfig.BuilderA builder forComputeRegionHealthCheckConfigstatic classComputeRegionHealthCheckConfig.Jsii$ProxyAn implementation forComputeRegionHealthCheckConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRegionHealthCheckConfig.Builderbuilder()default NumbergetCheckIntervalSec()How often (in seconds) to send a health check.default StringgetDescription()An optional description of this resource.default ComputeRegionHealthCheckGrpcHealthCheckgetGrpcHealthCheck()grpc_health_check block.default NumbergetHealthyThreshold()A so-far unhealthy instance will be marked healthy after this many consecutive successes.default ComputeRegionHealthCheckHttp2HealthCheckgetHttp2HealthCheck()http2_health_check block.default ComputeRegionHealthCheckHttpHealthCheckgetHttpHealthCheck()http_health_check block.default ComputeRegionHealthCheckHttpsHealthCheckgetHttpsHealthCheck()https_health_check block.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#id ComputeRegionHealthCheck#id}.default ComputeRegionHealthCheckLogConfiggetLogConfig()log_config block.StringgetName()Name of the resource.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#project ComputeRegionHealthCheck#project}.default StringgetRegion()The Region in which the created health check should reside.default ComputeRegionHealthCheckSslHealthCheckgetSslHealthCheck()ssl_health_check block.default ComputeRegionHealthCheckTcpHealthCheckgetTcpHealthCheck()tcp_health_check block.default ComputeRegionHealthCheckTimeoutsgetTimeouts()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_region_health_check#name ComputeRegionHealthCheck#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_region_health_check#check_interval_sec ComputeRegionHealthCheck#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_region_health_check#description ComputeRegionHealthCheck#description}
-
getGrpcHealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckGrpcHealthCheck getGrpcHealthCheck()
grpc_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#grpc_health_check ComputeRegionHealthCheck#grpc_health_check}
-
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_region_health_check#healthy_threshold ComputeRegionHealthCheck#healthy_threshold}
-
getHttp2HealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckHttp2HealthCheck getHttp2HealthCheck()
http2_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#http2_health_check ComputeRegionHealthCheck#http2_health_check}
-
getHttpHealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckHttpHealthCheck getHttpHealthCheck()
http_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#http_health_check ComputeRegionHealthCheck#http_health_check}
-
getHttpsHealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckHttpsHealthCheck getHttpsHealthCheck()
https_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#https_health_check ComputeRegionHealthCheck#https_health_check}
-
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_region_health_check#id ComputeRegionHealthCheck#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.
-
getLogConfig
@Stability(Stable) @Nullable default ComputeRegionHealthCheckLogConfig getLogConfig()
log_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#log_config ComputeRegionHealthCheck#log_config}
-
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_region_health_check#project ComputeRegionHealthCheck#project}.
-
getRegion
@Stability(Stable) @Nullable default String getRegion()
The Region in which the created health check should reside. If it is not provided, the provider region is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#region ComputeRegionHealthCheck#region}
-
getSslHealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckSslHealthCheck getSslHealthCheck()
ssl_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#ssl_health_check ComputeRegionHealthCheck#ssl_health_check}
-
getTcpHealthCheck
@Stability(Stable) @Nullable default ComputeRegionHealthCheckTcpHealthCheck getTcpHealthCheck()
tcp_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#tcp_health_check ComputeRegionHealthCheck#tcp_health_check}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeRegionHealthCheckTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_health_check#timeouts ComputeRegionHealthCheck#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_region_health_check#timeout_sec ComputeRegionHealthCheck#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_region_health_check#unhealthy_threshold ComputeRegionHealthCheck#unhealthy_threshold}
-
builder
@Stability(Stable) static ComputeRegionHealthCheckConfig.Builder builder()
-
-