Distribution Custom Error Response
data class DistributionCustomErrorResponse(val errorCachingMinTtl: Int? = null, val errorCode: Int, val responseCode: Int? = null, val responsePagePath: String? = null)
Properties
Link copied to clipboard
Minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.
Link copied to clipboard
HTTP status code that you want CloudFront to return with the custom error page to the viewer.
Link copied to clipboard
Path of the custom error page (for example, /custom_404.html
).