ConnectionMonitorHttpConfigurationArgs

data class ConnectionMonitorHttpConfigurationArgs(val method: Output<Either<String, HTTPConfigurationMethod>>? = null, val path: Output<String>? = null, val port: Output<Int>? = null, val preferHTTPS: Output<Boolean>? = null, val requestHeaders: Output<List<HTTPHeaderArgs>>? = null, val validStatusCodeRanges: Output<List<String>>? = null) : ConvertibleToJava<ConnectionMonitorHttpConfigurationArgs>

Describes the HTTP configuration.

Constructors

Link copied to clipboard
constructor(method: Output<Either<String, HTTPConfigurationMethod>>? = null, path: Output<String>? = null, port: Output<Int>? = null, preferHTTPS: Output<Boolean>? = null, requestHeaders: Output<List<HTTPHeaderArgs>>? = null, validStatusCodeRanges: Output<List<String>>? = null)

Properties

Link copied to clipboard
val method: Output<Either<String, HTTPConfigurationMethod>>? = null

The HTTP method to use.

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

The path component of the URI. For instance, "/dir1/dir2".

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

The port to connect to.

Link copied to clipboard
val preferHTTPS: Output<Boolean>? = null

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

Link copied to clipboard
val requestHeaders: Output<List<HTTPHeaderArgs>>? = null

The HTTP headers to transmit with the request.

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

HTTP status codes to consider successful. For instance, "2xx,301-304,418".

Functions

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