CustomErrorResponses
import type { CustomErrorResponses } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";
A complex type that controls:
- Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
- How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.
§Properties
§
Items?: CustomErrorResponse[] | null
[src]A complex type that contains a CustomErrorResponse
element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.