URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRuleArgs

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

Constructors

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

Properties

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

Valid values include:

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

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: Output<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.

Functions

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