ErrorHandlerArgs

data class ErrorHandlerArgs(val errorCode: Output<ErrorHandlerErrorCode>? = null, val mimeType: Output<String>? = null, val staticFile: Output<String>? = null) : ConvertibleToJava<ErrorHandlerArgs>

Custom static error page to be served when an error occurs.

Constructors

Link copied to clipboard
fun ErrorHandlerArgs(errorCode: Output<ErrorHandlerErrorCode>? = null, mimeType: Output<String>? = null, staticFile: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val errorCode: Output<ErrorHandlerErrorCode>? = null

Error condition this handler applies to.

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

MIME type of file. Defaults to text/html.

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

Static file content to be served for this error.