Class ComputeHealthCheckConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_health_check.ComputeHealthCheckConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeHealthCheckConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeHealthCheckConfig
@Stability(Stable) @Internal public static final class ComputeHealthCheckConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeHealthCheckConfig
An implementation forComputeHealthCheckConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_health_check.ComputeHealthCheckConfig
ComputeHealthCheckConfig.Builder, ComputeHealthCheckConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeHealthCheckConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeHealthCheckConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetCheckIntervalSec()How often (in seconds) to send a health check.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()An optional description of this resource.com.hashicorp.cdktf.ITerraformIteratorgetForEach()ComputeHealthCheckGrpcHealthCheckgetGrpcHealthCheck()grpc_health_check block.NumbergetHealthyThreshold()A so-far unhealthy instance will be marked healthy after this many consecutive successes.ComputeHealthCheckHttp2HealthCheckgetHttp2HealthCheck()http2_health_check block.ComputeHealthCheckHttpHealthCheckgetHttpHealthCheck()http_health_check block.ComputeHealthCheckHttpsHealthCheckgetHttpsHealthCheck()https_health_check block.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#id ComputeHealthCheck#id}.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ComputeHealthCheckLogConfiggetLogConfig()log_config block.StringgetName()Name of the resource.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#project ComputeHealthCheck#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()List<String>getSourceRegions()The list of cloud regions from which health checks are performed.ComputeHealthCheckSslHealthCheckgetSslHealthCheck()ssl_health_check block.ComputeHealthCheckTcpHealthCheckgetTcpHealthCheck()tcp_health_check block.ComputeHealthCheckTimeoutsgetTimeouts()timeouts block.NumbergetTimeoutSec()How long (in seconds) to wait before claiming failure.NumbergetUnhealthyThreshold()A so-far healthy instance will be marked unhealthy after this many consecutive failures.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeHealthCheckConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeHealthCheckConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeHealthCheckConfigName 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_health_check#name ComputeHealthCheck#name}
- Specified by:
getNamein interfaceComputeHealthCheckConfig
-
getCheckIntervalSec
public final Number getCheckIntervalSec()
Description copied from interface:ComputeHealthCheckConfigHow 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_health_check#check_interval_sec ComputeHealthCheck#check_interval_sec}
- Specified by:
getCheckIntervalSecin interfaceComputeHealthCheckConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeHealthCheckConfigAn 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_health_check#description ComputeHealthCheck#description}
- Specified by:
getDescriptionin interfaceComputeHealthCheckConfig
-
getGrpcHealthCheck
public final ComputeHealthCheckGrpcHealthCheck getGrpcHealthCheck()
Description copied from interface:ComputeHealthCheckConfiggrpc_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#grpc_health_check ComputeHealthCheck#grpc_health_check}
- Specified by:
getGrpcHealthCheckin interfaceComputeHealthCheckConfig
-
getHealthyThreshold
public final Number getHealthyThreshold()
Description copied from interface:ComputeHealthCheckConfigA 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_health_check#healthy_threshold ComputeHealthCheck#healthy_threshold}
- Specified by:
getHealthyThresholdin interfaceComputeHealthCheckConfig
-
getHttp2HealthCheck
public final ComputeHealthCheckHttp2HealthCheck getHttp2HealthCheck()
Description copied from interface:ComputeHealthCheckConfighttp2_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#http2_health_check ComputeHealthCheck#http2_health_check}
- Specified by:
getHttp2HealthCheckin interfaceComputeHealthCheckConfig
-
getHttpHealthCheck
public final ComputeHealthCheckHttpHealthCheck getHttpHealthCheck()
Description copied from interface:ComputeHealthCheckConfighttp_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#http_health_check ComputeHealthCheck#http_health_check}
- Specified by:
getHttpHealthCheckin interfaceComputeHealthCheckConfig
-
getHttpsHealthCheck
public final ComputeHealthCheckHttpsHealthCheck getHttpsHealthCheck()
Description copied from interface:ComputeHealthCheckConfighttps_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#https_health_check ComputeHealthCheck#https_health_check}
- Specified by:
getHttpsHealthCheckin interfaceComputeHealthCheckConfig
-
getId
public final String getId()
Description copied from interface:ComputeHealthCheckConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#id ComputeHealthCheck#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.
- Specified by:
getIdin interfaceComputeHealthCheckConfig
-
getLogConfig
public final ComputeHealthCheckLogConfig getLogConfig()
Description copied from interface:ComputeHealthCheckConfiglog_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#log_config ComputeHealthCheck#log_config}
- Specified by:
getLogConfigin interfaceComputeHealthCheckConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeHealthCheckConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#project ComputeHealthCheck#project}.- Specified by:
getProjectin interfaceComputeHealthCheckConfig
-
getSourceRegions
public final List<String> getSourceRegions()
Description copied from interface:ComputeHealthCheckConfigThe list of cloud regions from which health checks are performed.If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: * SSL, HTTP2, and GRPC protocols are not supported. * The TCP request field is not supported. * The proxyHeader field for HTTP, HTTPS, and TCP is not supported. * The checkIntervalSec field must be at least 30. * The health check cannot be used with BackendService nor with managed instance group auto-healing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#source_regions ComputeHealthCheck#source_regions}
- Specified by:
getSourceRegionsin interfaceComputeHealthCheckConfig
-
getSslHealthCheck
public final ComputeHealthCheckSslHealthCheck getSslHealthCheck()
Description copied from interface:ComputeHealthCheckConfigssl_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#ssl_health_check ComputeHealthCheck#ssl_health_check}
- Specified by:
getSslHealthCheckin interfaceComputeHealthCheckConfig
-
getTcpHealthCheck
public final ComputeHealthCheckTcpHealthCheck getTcpHealthCheck()
Description copied from interface:ComputeHealthCheckConfigtcp_health_check block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#tcp_health_check ComputeHealthCheck#tcp_health_check}
- Specified by:
getTcpHealthCheckin interfaceComputeHealthCheckConfig
-
getTimeouts
public final ComputeHealthCheckTimeouts getTimeouts()
Description copied from interface:ComputeHealthCheckConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#timeouts ComputeHealthCheck#timeouts}
- Specified by:
getTimeoutsin interfaceComputeHealthCheckConfig
-
getTimeoutSec
public final Number getTimeoutSec()
Description copied from interface:ComputeHealthCheckConfigHow 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_health_check#timeout_sec ComputeHealthCheck#timeout_sec}
- Specified by:
getTimeoutSecin interfaceComputeHealthCheckConfig
-
getUnhealthyThreshold
public final Number getUnhealthyThreshold()
Description copied from interface:ComputeHealthCheckConfigA 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_health_check#unhealthy_threshold ComputeHealthCheck#unhealthy_threshold}
- Specified by:
getUnhealthyThresholdin interfaceComputeHealthCheckConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-