ServiceHealthCheckConfigurationArgs

data class ServiceHealthCheckConfigurationArgs(val healthyThreshold: Output<Int>? = null, val interval: Output<Int>? = null, val path: Output<String>? = null, val protocol: Output<String>? = null, val timeout: Output<Int>? = null, val unhealthyThreshold: Output<Int>? = null) : ConvertibleToJava<ServiceHealthCheckConfigurationArgs>

Constructors

Link copied to clipboard
constructor(healthyThreshold: Output<Int>? = null, interval: Output<Int>? = null, path: Output<String>? = null, protocol: Output<String>? = null, timeout: Output<Int>? = null, unhealthyThreshold: Output<Int>? = null)

Properties

Link copied to clipboard
val healthyThreshold: Output<Int>? = null

Number of consecutive checks that must succeed before App Runner decides that the service is healthy. Defaults to 1. Minimum value of 1. Maximum value of 20.

Link copied to clipboard
val interval: Output<Int>? = null

Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20.

Link copied to clipboard
val path: Output<String>? = null

URL to send requests to for health checks. Defaults to /. Minimum length of 0. Maximum length of 51200.

Link copied to clipboard
val protocol: Output<String>? = null

IP protocol that App Runner uses to perform health checks for your service. Valid values: TCP, HTTP. Defaults to TCP. If you set protocol to HTTP, App Runner sends health check requests to the HTTP path specified by path.

Link copied to clipboard
val timeout: Output<Int>? = null

Time, in seconds, to wait for a health check response before deciding it failed. Defaults to 2. Minimum value of 1. Maximum value of 20.

Link copied to clipboard
val unhealthyThreshold: Output<Int>? = null

Number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Defaults to 5. Minimum value of 1. Maximum value of 20.

Functions

Link copied to clipboard
open override fun toJava(): ServiceHealthCheckConfigurationArgs