URLMapDefaultCustomErrorResponsePolicyErrorResponseRule

data class URLMapDefaultCustomErrorResponsePolicyErrorResponseRule(val matchResponseCodes: List<String>? = null, val overrideResponseCode: Int? = null, val path: String? = null)

Constructors

constructor(matchResponseCodes: List<String>? = null, overrideResponseCode: Int? = null, path: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Valid values include:

Link copied to clipboard

The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.

Link copied to clipboard
val path: String? = null

The full path to a file within backendBucket. For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters.