Class ComputeHealthCheck

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.423Z")
    @Stability(Stable)
    public class ComputeHealthCheck
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check google_compute_health_check}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • ComputeHealthCheck

        protected ComputeHealthCheck​(software.amazon.jsii.JsiiObjectRef objRef)
      • ComputeHealthCheck

        protected ComputeHealthCheck​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ComputeHealthCheck

        @Stability(Stable)
        public ComputeHealthCheck​(@NotNull
                                  software.constructs.Construct scope,
                                  @NotNull
                                  String id,
                                  @NotNull
                                  ComputeHealthCheckConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check google_compute_health_check} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a ComputeHealthCheck resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeHealthCheck to import. This parameter is required.
        importFromId - The id of the existing ComputeHealthCheck that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the ComputeHealthCheck to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a ComputeHealthCheck resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeHealthCheck to import. This parameter is required.
        importFromId - The id of the existing ComputeHealthCheck that should be imported. This parameter is required.
      • putGrpcHealthCheck

        @Stability(Stable)
        public void putGrpcHealthCheck​(@NotNull
                                       ComputeHealthCheckGrpcHealthCheck value)
        Parameters:
        value - This parameter is required.
      • putHttp2HealthCheck

        @Stability(Stable)
        public void putHttp2HealthCheck​(@NotNull
                                        ComputeHealthCheckHttp2HealthCheck value)
        Parameters:
        value - This parameter is required.
      • putHttpHealthCheck

        @Stability(Stable)
        public void putHttpHealthCheck​(@NotNull
                                       ComputeHealthCheckHttpHealthCheck value)
        Parameters:
        value - This parameter is required.
      • putHttpsHealthCheck

        @Stability(Stable)
        public void putHttpsHealthCheck​(@NotNull
                                        ComputeHealthCheckHttpsHealthCheck value)
        Parameters:
        value - This parameter is required.
      • putLogConfig

        @Stability(Stable)
        public void putLogConfig​(@NotNull
                                 ComputeHealthCheckLogConfig value)
        Parameters:
        value - This parameter is required.
      • putSslHealthCheck

        @Stability(Stable)
        public void putSslHealthCheck​(@NotNull
                                      ComputeHealthCheckSslHealthCheck value)
        Parameters:
        value - This parameter is required.
      • putTcpHealthCheck

        @Stability(Stable)
        public void putTcpHealthCheck​(@NotNull
                                      ComputeHealthCheckTcpHealthCheck value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                ComputeHealthCheckTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetCheckIntervalSec

        @Stability(Stable)
        public void resetCheckIntervalSec()
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetGrpcHealthCheck

        @Stability(Stable)
        public void resetGrpcHealthCheck()
      • resetHealthyThreshold

        @Stability(Stable)
        public void resetHealthyThreshold()
      • resetHttp2HealthCheck

        @Stability(Stable)
        public void resetHttp2HealthCheck()
      • resetHttpHealthCheck

        @Stability(Stable)
        public void resetHttpHealthCheck()
      • resetHttpsHealthCheck

        @Stability(Stable)
        public void resetHttpsHealthCheck()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetLogConfig

        @Stability(Stable)
        public void resetLogConfig()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetSourceRegions

        @Stability(Stable)
        public void resetSourceRegions()
      • resetSslHealthCheck

        @Stability(Stable)
        public void resetSslHealthCheck()
      • resetTcpHealthCheck

        @Stability(Stable)
        public void resetTcpHealthCheck()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • resetTimeoutSec

        @Stability(Stable)
        public void resetTimeoutSec()
      • resetUnhealthyThreshold

        @Stability(Stable)
        public void resetUnhealthyThreshold()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getCreationTimestamp

        @Stability(Stable)
        @NotNull
        public String getCreationTimestamp()
      • getSelfLink

        @Stability(Stable)
        @NotNull
        public String getSelfLink()
      • getType

        @Stability(Stable)
        @NotNull
        public String getType()
      • getCheckIntervalSecInput

        @Stability(Stable)
        @Nullable
        public Number getCheckIntervalSecInput()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getHealthyThresholdInput

        @Stability(Stable)
        @Nullable
        public Number getHealthyThresholdInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getSourceRegionsInput

        @Stability(Stable)
        @Nullable
        public List<String> getSourceRegionsInput()
      • getTimeoutSecInput

        @Stability(Stable)
        @Nullable
        public Number getTimeoutSecInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getUnhealthyThresholdInput

        @Stability(Stable)
        @Nullable
        public Number getUnhealthyThresholdInput()
      • getCheckIntervalSec

        @Stability(Stable)
        @NotNull
        public Number getCheckIntervalSec()
      • setCheckIntervalSec

        @Stability(Stable)
        public void setCheckIntervalSec​(@NotNull
                                        Number value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getHealthyThreshold

        @Stability(Stable)
        @NotNull
        public Number getHealthyThreshold()
      • setHealthyThreshold

        @Stability(Stable)
        public void setHealthyThreshold​(@NotNull
                                        Number value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getSourceRegions

        @Stability(Stable)
        @NotNull
        public List<String> getSourceRegions()
      • setSourceRegions

        @Stability(Stable)
        public void setSourceRegions​(@NotNull
                                     List<String> value)
      • getTimeoutSec

        @Stability(Stable)
        @NotNull
        public Number getTimeoutSec()
      • setTimeoutSec

        @Stability(Stable)
        public void setTimeoutSec​(@NotNull
                                  Number value)
      • getUnhealthyThreshold

        @Stability(Stable)
        @NotNull
        public Number getUnhealthyThreshold()
      • setUnhealthyThreshold

        @Stability(Stable)
        public void setUnhealthyThreshold​(@NotNull
                                          Number value)