Documentation ¶
Index ¶
- func ComputeHealthCheck_IsConstruct(x interface{}) *bool
- func ComputeHealthCheck_TfResourceType() *string
- func NewComputeHealthCheckGrpcHealthCheckOutputReference_Override(c ComputeHealthCheckGrpcHealthCheckOutputReference, ...)
- func NewComputeHealthCheckHttp2HealthCheckOutputReference_Override(c ComputeHealthCheckHttp2HealthCheckOutputReference, ...)
- func NewComputeHealthCheckHttpHealthCheckOutputReference_Override(c ComputeHealthCheckHttpHealthCheckOutputReference, ...)
- func NewComputeHealthCheckHttpsHealthCheckOutputReference_Override(c ComputeHealthCheckHttpsHealthCheckOutputReference, ...)
- func NewComputeHealthCheckLogConfigOutputReference_Override(c ComputeHealthCheckLogConfigOutputReference, ...)
- func NewComputeHealthCheckSslHealthCheckOutputReference_Override(c ComputeHealthCheckSslHealthCheckOutputReference, ...)
- func NewComputeHealthCheckTcpHealthCheckOutputReference_Override(c ComputeHealthCheckTcpHealthCheckOutputReference, ...)
- func NewComputeHealthCheckTimeoutsOutputReference_Override(c ComputeHealthCheckTimeoutsOutputReference, ...)
- func NewComputeHealthCheck_Override(c ComputeHealthCheck, scope constructs.Construct, id *string, ...)
- type ComputeHealthCheck
- type ComputeHealthCheckConfig
- type ComputeHealthCheckGrpcHealthCheck
- type ComputeHealthCheckGrpcHealthCheckOutputReference
- type ComputeHealthCheckHttp2HealthCheck
- type ComputeHealthCheckHttp2HealthCheckOutputReference
- type ComputeHealthCheckHttpHealthCheck
- type ComputeHealthCheckHttpHealthCheckOutputReference
- type ComputeHealthCheckHttpsHealthCheck
- type ComputeHealthCheckHttpsHealthCheckOutputReference
- type ComputeHealthCheckLogConfig
- type ComputeHealthCheckLogConfigOutputReference
- type ComputeHealthCheckSslHealthCheck
- type ComputeHealthCheckSslHealthCheckOutputReference
- type ComputeHealthCheckTcpHealthCheck
- type ComputeHealthCheckTcpHealthCheckOutputReference
- type ComputeHealthCheckTimeouts
- type ComputeHealthCheckTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHealthCheck_IsConstruct ¶
func ComputeHealthCheck_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ComputeHealthCheck_TfResourceType ¶
func ComputeHealthCheck_TfResourceType() *string
func NewComputeHealthCheckGrpcHealthCheckOutputReference_Override ¶
func NewComputeHealthCheckGrpcHealthCheckOutputReference_Override(c ComputeHealthCheckGrpcHealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckHttp2HealthCheckOutputReference_Override ¶
func NewComputeHealthCheckHttp2HealthCheckOutputReference_Override(c ComputeHealthCheckHttp2HealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckHttpHealthCheckOutputReference_Override ¶
func NewComputeHealthCheckHttpHealthCheckOutputReference_Override(c ComputeHealthCheckHttpHealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckHttpsHealthCheckOutputReference_Override ¶
func NewComputeHealthCheckHttpsHealthCheckOutputReference_Override(c ComputeHealthCheckHttpsHealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckLogConfigOutputReference_Override ¶
func NewComputeHealthCheckLogConfigOutputReference_Override(c ComputeHealthCheckLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckSslHealthCheckOutputReference_Override ¶
func NewComputeHealthCheckSslHealthCheckOutputReference_Override(c ComputeHealthCheckSslHealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckTcpHealthCheckOutputReference_Override ¶
func NewComputeHealthCheckTcpHealthCheckOutputReference_Override(c ComputeHealthCheckTcpHealthCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheckTimeoutsOutputReference_Override ¶
func NewComputeHealthCheckTimeoutsOutputReference_Override(c ComputeHealthCheckTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeHealthCheck_Override ¶
func NewComputeHealthCheck_Override(c ComputeHealthCheck, scope constructs.Construct, id *string, config *ComputeHealthCheckConfig)
Create a new {@link https://www.terraform.io/docs/providers/google/r/compute_health_check google_compute_health_check} Resource.
Types ¶
type ComputeHealthCheck ¶
type ComputeHealthCheck interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack CheckIntervalSec() *float64 SetCheckIntervalSec(val *float64) CheckIntervalSecInput() *float64 // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GrpcHealthCheck() ComputeHealthCheckGrpcHealthCheckOutputReference GrpcHealthCheckInput() *ComputeHealthCheckGrpcHealthCheck HealthyThreshold() *float64 SetHealthyThreshold(val *float64) HealthyThresholdInput() *float64 Http2HealthCheck() ComputeHealthCheckHttp2HealthCheckOutputReference Http2HealthCheckInput() *ComputeHealthCheckHttp2HealthCheck HttpHealthCheck() ComputeHealthCheckHttpHealthCheckOutputReference HttpHealthCheckInput() *ComputeHealthCheckHttpHealthCheck HttpsHealthCheck() ComputeHealthCheckHttpsHealthCheckOutputReference HttpsHealthCheckInput() *ComputeHealthCheckHttpsHealthCheck Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LogConfig() ComputeHealthCheckLogConfigOutputReference LogConfigInput() *ComputeHealthCheckLogConfig Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string SslHealthCheck() ComputeHealthCheckSslHealthCheckOutputReference SslHealthCheckInput() *ComputeHealthCheckSslHealthCheck TcpHealthCheck() ComputeHealthCheckTcpHealthCheckOutputReference TcpHealthCheckInput() *ComputeHealthCheckTcpHealthCheck // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeHealthCheckTimeoutsOutputReference TimeoutSec() *float64 SetTimeoutSec(val *float64) TimeoutSecInput() *float64 TimeoutsInput() interface{} Type() *string UnhealthyThreshold() *float64 SetUnhealthyThreshold(val *float64) UnhealthyThresholdInput() *float64 // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutGrpcHealthCheck(value *ComputeHealthCheckGrpcHealthCheck) PutHttp2HealthCheck(value *ComputeHealthCheckHttp2HealthCheck) PutHttpHealthCheck(value *ComputeHealthCheckHttpHealthCheck) PutHttpsHealthCheck(value *ComputeHealthCheckHttpsHealthCheck) PutLogConfig(value *ComputeHealthCheckLogConfig) PutSslHealthCheck(value *ComputeHealthCheckSslHealthCheck) PutTcpHealthCheck(value *ComputeHealthCheckTcpHealthCheck) PutTimeouts(value *ComputeHealthCheckTimeouts) ResetCheckIntervalSec() ResetDescription() ResetGrpcHealthCheck() ResetHealthyThreshold() ResetHttp2HealthCheck() ResetHttpHealthCheck() ResetHttpsHealthCheck() ResetId() ResetLogConfig() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetSslHealthCheck() ResetTcpHealthCheck() ResetTimeouts() ResetTimeoutSec() ResetUnhealthyThreshold() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/google/r/compute_health_check google_compute_health_check}.
func NewComputeHealthCheck ¶
func NewComputeHealthCheck(scope constructs.Construct, id *string, config *ComputeHealthCheckConfig) ComputeHealthCheck
Create a new {@link https://www.terraform.io/docs/providers/google/r/compute_health_check google_compute_health_check} Resource.
type ComputeHealthCheckConfig ¶
type ComputeHealthCheckConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // 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]([-a-z0-9]*[a-z0-9])?' 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://www.terraform.io/docs/providers/google/r/compute_health_check#name ComputeHealthCheck#name} Name *string `field:"required" json:"name" yaml:"name"` // How often (in seconds) to send a health check. The default value is 5 seconds. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#check_interval_sec ComputeHealthCheck#check_interval_sec} CheckIntervalSec *float64 `field:"optional" json:"checkIntervalSec" yaml:"checkIntervalSec"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#description ComputeHealthCheck#description} Description *string `field:"optional" json:"description" yaml:"description"` // grpc_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#grpc_health_check ComputeHealthCheck#grpc_health_check} GrpcHealthCheck *ComputeHealthCheckGrpcHealthCheck `field:"optional" json:"grpcHealthCheck" yaml:"grpcHealthCheck"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#healthy_threshold ComputeHealthCheck#healthy_threshold} HealthyThreshold *float64 `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"` // http2_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#http2_health_check ComputeHealthCheck#http2_health_check} Http2HealthCheck *ComputeHealthCheckHttp2HealthCheck `field:"optional" json:"http2HealthCheck" yaml:"http2HealthCheck"` // http_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#http_health_check ComputeHealthCheck#http_health_check} HttpHealthCheck *ComputeHealthCheckHttpHealthCheck `field:"optional" json:"httpHealthCheck" yaml:"httpHealthCheck"` // https_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#https_health_check ComputeHealthCheck#https_health_check} HttpsHealthCheck *ComputeHealthCheckHttpsHealthCheck `field:"optional" json:"httpsHealthCheck" yaml:"httpsHealthCheck"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/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. Id *string `field:"optional" json:"id" yaml:"id"` // log_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#log_config ComputeHealthCheck#log_config} LogConfig *ComputeHealthCheckLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#project ComputeHealthCheck#project}. Project *string `field:"optional" json:"project" yaml:"project"` // ssl_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#ssl_health_check ComputeHealthCheck#ssl_health_check} SslHealthCheck *ComputeHealthCheckSslHealthCheck `field:"optional" json:"sslHealthCheck" yaml:"sslHealthCheck"` // tcp_health_check block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#tcp_health_check ComputeHealthCheck#tcp_health_check} TcpHealthCheck *ComputeHealthCheckTcpHealthCheck `field:"optional" json:"tcpHealthCheck" yaml:"tcpHealthCheck"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#timeouts ComputeHealthCheck#timeouts} Timeouts *ComputeHealthCheckTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#timeout_sec ComputeHealthCheck#timeout_sec} TimeoutSec *float64 `field:"optional" json:"timeoutSec" yaml:"timeoutSec"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#unhealthy_threshold ComputeHealthCheck#unhealthy_threshold} UnhealthyThreshold *float64 `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"` }
type ComputeHealthCheckGrpcHealthCheck ¶
type ComputeHealthCheckGrpcHealthCheck struct { // The gRPC service name for the health check. // // The value of grpcServiceName has the following meanings by convention: // - Empty serviceName means the overall status of all services at the backend. // - Non-empty serviceName means the health of that gRPC service, as defined by the owner of the service. // The grpcServiceName can only be ASCII. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#grpc_service_name ComputeHealthCheck#grpc_service_name} GrpcServiceName *string `field:"optional" json:"grpcServiceName" yaml:"grpcServiceName"` // The port number for the health check request. // // Must be specified if portName and portSpecification are not set // or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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, gRPC 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` }
type ComputeHealthCheckGrpcHealthCheckOutputReference ¶
type ComputeHealthCheckGrpcHealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GrpcServiceName() *string SetGrpcServiceName(val *string) GrpcServiceNameInput() *string InternalValue() *ComputeHealthCheckGrpcHealthCheck SetInternalValue(val *ComputeHealthCheckGrpcHealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetGrpcServiceName() ResetPort() ResetPortName() ResetPortSpecification() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckGrpcHealthCheckOutputReference ¶
func NewComputeHealthCheckGrpcHealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckGrpcHealthCheckOutputReference
type ComputeHealthCheckHttp2HealthCheck ¶
type ComputeHealthCheckHttp2HealthCheck struct { // The value of the host header in the HTTP2 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://www.terraform.io/docs/providers/google/r/compute_health_check#host ComputeHealthCheck#host} Host *string `field:"optional" json:"host" yaml:"host"` // The TCP port number for the HTTP2 health check request. The default value is 443. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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, HTTP2 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#proxy_header ComputeHealthCheck#proxy_header} ProxyHeader *string `field:"optional" json:"proxyHeader" yaml:"proxyHeader"` // The request path of the HTTP2 health check request. The default value is /. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#request_path ComputeHealthCheck#request_path} RequestPath *string `field:"optional" json:"requestPath" yaml:"requestPath"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#response ComputeHealthCheck#response} Response *string `field:"optional" json:"response" yaml:"response"` }
type ComputeHealthCheckHttp2HealthCheckOutputReference ¶
type ComputeHealthCheckHttp2HealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string InternalValue() *ComputeHealthCheckHttp2HealthCheck SetInternalValue(val *ComputeHealthCheckHttp2HealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string ProxyHeader() *string SetProxyHeader(val *string) ProxyHeaderInput() *string RequestPath() *string SetRequestPath(val *string) RequestPathInput() *string Response() *string SetResponse(val *string) ResponseInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHost() ResetPort() ResetPortName() ResetPortSpecification() ResetProxyHeader() ResetRequestPath() ResetResponse() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckHttp2HealthCheckOutputReference ¶
func NewComputeHealthCheckHttp2HealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckHttp2HealthCheckOutputReference
type ComputeHealthCheckHttpHealthCheck ¶
type ComputeHealthCheckHttpHealthCheck struct { // 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://www.terraform.io/docs/providers/google/r/compute_health_check#host ComputeHealthCheck#host} Host *string `field:"optional" json:"host" yaml:"host"` // The TCP port number for the HTTP health check request. The default value is 80. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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, HTTP 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#proxy_header ComputeHealthCheck#proxy_header} ProxyHeader *string `field:"optional" json:"proxyHeader" yaml:"proxyHeader"` // The request path of the HTTP health check request. The default value is /. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#request_path ComputeHealthCheck#request_path} RequestPath *string `field:"optional" json:"requestPath" yaml:"requestPath"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#response ComputeHealthCheck#response} Response *string `field:"optional" json:"response" yaml:"response"` }
type ComputeHealthCheckHttpHealthCheckOutputReference ¶
type ComputeHealthCheckHttpHealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string InternalValue() *ComputeHealthCheckHttpHealthCheck SetInternalValue(val *ComputeHealthCheckHttpHealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string ProxyHeader() *string SetProxyHeader(val *string) ProxyHeaderInput() *string RequestPath() *string SetRequestPath(val *string) RequestPathInput() *string Response() *string SetResponse(val *string) ResponseInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHost() ResetPort() ResetPortName() ResetPortSpecification() ResetProxyHeader() ResetRequestPath() ResetResponse() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckHttpHealthCheckOutputReference ¶
func NewComputeHealthCheckHttpHealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckHttpHealthCheckOutputReference
type ComputeHealthCheckHttpsHealthCheck ¶
type ComputeHealthCheckHttpsHealthCheck struct { // The value of the host header in the HTTPS 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://www.terraform.io/docs/providers/google/r/compute_health_check#host ComputeHealthCheck#host} Host *string `field:"optional" json:"host" yaml:"host"` // The TCP port number for the HTTPS health check request. The default value is 443. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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, HTTPS 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#proxy_header ComputeHealthCheck#proxy_header} ProxyHeader *string `field:"optional" json:"proxyHeader" yaml:"proxyHeader"` // The request path of the HTTPS health check request. The default value is /. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#request_path ComputeHealthCheck#request_path} RequestPath *string `field:"optional" json:"requestPath" yaml:"requestPath"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#response ComputeHealthCheck#response} Response *string `field:"optional" json:"response" yaml:"response"` }
type ComputeHealthCheckHttpsHealthCheckOutputReference ¶
type ComputeHealthCheckHttpsHealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string InternalValue() *ComputeHealthCheckHttpsHealthCheck SetInternalValue(val *ComputeHealthCheckHttpsHealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string ProxyHeader() *string SetProxyHeader(val *string) ProxyHeaderInput() *string RequestPath() *string SetRequestPath(val *string) RequestPathInput() *string Response() *string SetResponse(val *string) ResponseInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHost() ResetPort() ResetPortName() ResetPortSpecification() ResetProxyHeader() ResetRequestPath() ResetResponse() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckHttpsHealthCheckOutputReference ¶
func NewComputeHealthCheckHttpsHealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckHttpsHealthCheckOutputReference
type ComputeHealthCheckLogConfig ¶
type ComputeHealthCheckLogConfig struct { // Indicates whether or not to export logs. // // This is false by default, // which means no health check logging will be done. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#enable ComputeHealthCheck#enable} Enable interface{} `field:"optional" json:"enable" yaml:"enable"` }
type ComputeHealthCheckLogConfigOutputReference ¶
type ComputeHealthCheckLogConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Enable() interface{} SetEnable(val interface{}) EnableInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeHealthCheckLogConfig SetInternalValue(val *ComputeHealthCheckLogConfig) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetEnable() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckLogConfigOutputReference ¶
func NewComputeHealthCheckLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckLogConfigOutputReference
type ComputeHealthCheckSslHealthCheck ¶
type ComputeHealthCheckSslHealthCheck struct { // The TCP port number for the SSL health check request. The default value is 443. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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, SSL 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#proxy_header ComputeHealthCheck#proxy_header} ProxyHeader *string `field:"optional" json:"proxyHeader" yaml:"proxyHeader"` // The application data to send once the SSL 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://www.terraform.io/docs/providers/google/r/compute_health_check#request ComputeHealthCheck#request} Request *string `field:"optional" json:"request" yaml:"request"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#response ComputeHealthCheck#response} Response *string `field:"optional" json:"response" yaml:"response"` }
type ComputeHealthCheckSslHealthCheckOutputReference ¶
type ComputeHealthCheckSslHealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeHealthCheckSslHealthCheck SetInternalValue(val *ComputeHealthCheckSslHealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string ProxyHeader() *string SetProxyHeader(val *string) ProxyHeaderInput() *string Request() *string SetRequest(val *string) RequestInput() *string Response() *string SetResponse(val *string) ResponseInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPort() ResetPortName() ResetPortSpecification() ResetProxyHeader() ResetRequest() ResetResponse() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckSslHealthCheckOutputReference ¶
func NewComputeHealthCheckSslHealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckSslHealthCheckOutputReference
type ComputeHealthCheckTcpHealthCheck ¶
type ComputeHealthCheckTcpHealthCheck struct { // The TCP port number for the TCP health check request. The default value is 443. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#port ComputeHealthCheck#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_name ComputeHealthCheck#port_name} PortName *string `field:"optional" json:"portName" yaml:"portName"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#port_specification ComputeHealthCheck#port_specification} PortSpecification *string `field:"optional" json:"portSpecification" yaml:"portSpecification"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#proxy_header ComputeHealthCheck#proxy_header} ProxyHeader *string `field:"optional" json:"proxyHeader" yaml:"proxyHeader"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#request ComputeHealthCheck#request} Request *string `field:"optional" json:"request" yaml:"request"` // 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://www.terraform.io/docs/providers/google/r/compute_health_check#response ComputeHealthCheck#response} Response *string `field:"optional" json:"response" yaml:"response"` }
type ComputeHealthCheckTcpHealthCheckOutputReference ¶
type ComputeHealthCheckTcpHealthCheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeHealthCheckTcpHealthCheck SetInternalValue(val *ComputeHealthCheckTcpHealthCheck) Port() *float64 SetPort(val *float64) PortInput() *float64 PortName() *string SetPortName(val *string) PortNameInput() *string PortSpecification() *string SetPortSpecification(val *string) PortSpecificationInput() *string ProxyHeader() *string SetProxyHeader(val *string) ProxyHeaderInput() *string Request() *string SetRequest(val *string) RequestInput() *string Response() *string SetResponse(val *string) ResponseInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPort() ResetPortName() ResetPortSpecification() ResetProxyHeader() ResetRequest() ResetResponse() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckTcpHealthCheckOutputReference ¶
func NewComputeHealthCheckTcpHealthCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckTcpHealthCheckOutputReference
type ComputeHealthCheckTimeouts ¶
type ComputeHealthCheckTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#create ComputeHealthCheck#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#delete ComputeHealthCheck#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_health_check#update ComputeHealthCheck#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeHealthCheckTimeoutsOutputReference ¶
type ComputeHealthCheckTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeHealthCheckTimeoutsOutputReference ¶
func NewComputeHealthCheckTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeHealthCheckTimeoutsOutputReference
Source Files ¶
- computehealthcheck.go
- computehealthcheck_ComputeHealthCheck.go
- computehealthcheck_ComputeHealthCheckConfig.go
- computehealthcheck_ComputeHealthCheckGrpcHealthCheck.go
- computehealthcheck_ComputeHealthCheckGrpcHealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckGrpcHealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckHttp2HealthCheck.go
- computehealthcheck_ComputeHealthCheckHttp2HealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckHttp2HealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckHttpHealthCheck.go
- computehealthcheck_ComputeHealthCheckHttpHealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckHttpHealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckHttpsHealthCheck.go
- computehealthcheck_ComputeHealthCheckHttpsHealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckHttpsHealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckLogConfig.go
- computehealthcheck_ComputeHealthCheckLogConfigOutputReference.go
- computehealthcheck_ComputeHealthCheckLogConfigOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckSslHealthCheck.go
- computehealthcheck_ComputeHealthCheckSslHealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckSslHealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckTcpHealthCheck.go
- computehealthcheck_ComputeHealthCheckTcpHealthCheckOutputReference.go
- computehealthcheck_ComputeHealthCheckTcpHealthCheckOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheckTimeouts.go
- computehealthcheck_ComputeHealthCheckTimeoutsOutputReference.go
- computehealthcheck_ComputeHealthCheckTimeoutsOutputReference__runtime_type_checks.go
- computehealthcheck_ComputeHealthCheck__runtime_type_checks.go